Jump to content

Recommended Posts

  • netkillui changed the title to [OFFER] Pnetlab v8 Ubuntu 26 Kernel 7.0.0.27 | pnetlab-27H1-v8.72
Posted

Hello @netkillui,

What is the changelog for version 8.72? What improvements does this version bring? I am currently on v8.62; how can I perform the upgrade without breaking anything? Thanks

  • Like 1
  • netkillui changed the title to [OFFER] Pnetlab v8 Ubuntu 26 Kernel 7.0.0.27 | pnetlab-27H1-v8.74
Posted (edited)

Hi everyone,

I wanted to share my experience upgrading an existing PNETLab installation from 6.8.62resolute1 to 6.8.74resolute1 on Ubuntu 26.04 Resolute.

The upgrade eventually completed, but I encountered several issues during and after the migration.

I am sharing the details here because they may help other users upgrading an existing PNETLab installation rather than performing a fresh install.

I also reported the two main problems upstream as Codeberg issues #7 and #8.


Environment

My starting point was:

Ubuntu: 26.04 Resolute
Architecture: amd64
PNETLab: 6.8.62resolute1

Target version:

PNETLab: 6.8.74resolute1

I used the new manifest-driven network installer.


1. Installer initially refused my existing network configuration

My first attempt was:

curl -fsSL \
https://codeberg.org/api/packages/netkillui/generic/pnetlab-core-assets/0.channel/pnetlab-network-install-latest.sh \
| sudo bash -s -- \
  --yes \
  --release latest

The installer stopped during preflight with:

ERROR: preflight Check A refuses administrator content in /etc/network/interfaces; use --no-cloud-uplink

This host already had a working PNETLab network configuration in:

/etc/network/interfaces

My management interface is based on:

eth0 -> pnet0

with DHCP handled by dhcpcd, plus the usual pnet1 to pnet9 bridges and nat0.

I did not want the installer to replace or modify that existing configuration.

I therefore reran the installer using:

--no-cloud-uplink

Full command:

curl -fsSL \
https://codeberg.org/api/packages/netkillui/generic/pnetlab-core-assets/0.channel/pnetlab-network-install-latest.sh \
| sudo bash -s -- \
  --yes \
  --release latest \
  --no-cloud-uplink

The installer then explicitly reported:

Pass 2: --no-cloud-uplink explicitly selected; discovery and handoff are skipped

This allowed the installation process to continue while preserving my existing network configuration.

So, if you already have a custom or manually managed /etc/network/interfaces, I would recommend checking carefully before letting the installer modify it.

In my case, --no-cloud-uplink was required.


2. Installer preflight failed because some PNETLab packages were held

After the network preflight passed, the installer successfully resolved:

release=6.8.74resolute1
sequence=74

It verified the signed channel pointer, manifest and repository information successfully.

It then reached:

=== preflight: exact transaction simulation (last gate before mutation) ===

and stopped with:

ERROR: exact apt transaction simulation failed; no package mutation was attempted

The installer did not show the underlying APT error.

To understand the problem, I manually replayed the exact APT simulation printed by the installer.

APT then showed the real reason:

The following held packages will be changed:
  pnetlab-docker
  pnetlab-guacd
  pnetlab-qemu
  pnetlab-schema

E: Held packages were changed and -y was used without --allow-change-held-packages.

So this was not a dependency conflict.

The transaction itself could be resolved correctly, but APT refused to modify held packages because the installer was using:

apt-get install --simulate -y

without:

--allow-change-held-packages

Confirming the diagnosis

I manually reran the exact transaction simulation with:

--allow-change-held-packages

For example:

apt-get install --simulate -y \
  --allow-change-held-packages \
  ca-certificates \
  curl \
  gnupg \
  iproute2 \
  mysql-server \
  openssl \
  php8.5-fpm \
  python3-pip \
  uml-utilities \
  inotify-tools \
  pnetlab=6.8.74resolute1 \
  pnetlab-docker=6.8.74resolute1 \
  pnetlab-guacd=6.8.74resolute1 \
  pnetlab-qemu=6.8.74resolute1 \
  pnetlab-schema=6.8.74resolute1 \
  pnetlab-vpcs=6.8.74resolute1 \
  docker-ce \
  docker-ce-cli \
  containerd.io \
  docker-buildx-plugin \
  docker-compose-plugin

This time the complete transaction simulation succeeded.

APT correctly planned the upgrade to 6.8.74resolute1.


3. Workaround for the held packages

I checked the held packages and temporarily removed the hold from the four PNETLab packages involved:

apt-mark unhold \
  pnetlab-docker \
  pnetlab-guacd \
  pnetlab-qemu \
  pnetlab-schema

APT confirmed:

Canceled hold on pnetlab-docker.
Canceled hold on pnetlab-guacd.
Canceled hold on pnetlab-qemu.
Canceled hold on pnetlab-schema.

I then reran the official installer:

curl -fsSL \
https://codeberg.org/api/packages/netkillui/generic/pnetlab-core-assets/0.channel/pnetlab-network-install-latest.sh \
| sudo bash -s -- \
  --yes \
  --release latest \
  --no-cloud-uplink

This time the preflight simulation passed and the installer proceeded with the actual migration.


4. The installation itself completed

The installer successfully installed the 6.8.74resolute1 packages and reached the end of its installation workflow.

It also reported successful checks for several components, including:

Docker runtime verification
Docker-backed node smoke test
PNETLab broker socket
HTTP bridge
console mux
shell bridge
guac-lite
labstated
pnet0-9 and nat0 bridge presence
schema verification
HTTPS login verification
API login verification

The installer ended with:

=== network install completed ===

The resulting PNETLab package state was:

ii  pnetlab                 6.8.74resolute1
ii  pnetlab-bridge-dkms     6.8.74resolute1
ii  pnetlab-docker          6.8.74resolute1
ii  pnetlab-guacd           6.8.74resolute1
ii  pnetlab-qemu            6.8.74resolute1
ii  pnetlab-schema          6.8.74resolute1
ii  pnetlab-vpcs            6.8.74resolute1

So the package migration itself completed and the installer considered its own validation steps successful.

However, this does not mean that the system was completely clean after the upgrade.


5. Post-upgrade: three PNETLab systemd services are failing

After the installation, I ran:

systemctl --failed

and found these PNETLab-related failed services:

harddisk_limit.service
mysql_recovery.service
process_limit.service

The errors were:

harddisk_limit.service:
Unable to locate executable '/opt/unetlab/html/store/app/Console/Commands/harddisk_limit'
mysql_recovery.service:
Could not open input file: /opt/unetlab/html/store/artisan
process_limit.service:
Unable to locate executable '/opt/unetlab/html/store/app/Console/Commands/process_limit'

All three units still reference:

/opt/unetlab/html/store/

The old PNETLab Store component has been retired, so these files no longer exist.


6. These services are not simply leftovers from the old installation

Initially, I thought these could just be obsolete systemd units left behind by the previous pnetlab-store package.

However, I checked them with:

dpkg -S \
  /etc/systemd/system/harddisk_limit.service \
  /etc/systemd/system/mysql_recovery.service \
  /etc/systemd/system/process_limit.service

The result was:

pnetlab: /etc/systemd/system/harddisk_limit.service
pnetlab: /etc/systemd/system/mysql_recovery.service
pnetlab: /etc/systemd/system/process_limit.service

I also checked the package contents:

dpkg -L pnetlab | grep -E 'harddisk_limit|mysql_recovery|process_limit'

and confirmed that the current pnetlab package still contains all three units.

So these are not orphaned files from an old package.

They are currently shipped by pnetlab 6.8.74resolute1.


7. Contents of the failing units

harddisk_limit.service:

[Unit]
Description=Update Hard disk status
After=mysql.service

[Service]
ExecStart=/opt/unetlab/html/store/app/Console/Commands/harddisk_limit
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target

mysql_recovery.service:

[Unit]
Description=Check database
After=mysql.service

[Service]
ExecStart=/usr/bin/php /opt/unetlab/html/store/artisan mysql_recovery run
RemainAfterExit=false

[Install]
WantedBy=multi-user.target

process_limit.service:

[Unit]
Description=Update RAM CPU status
After=mysql.service

[Service]
ExecStart=/opt/unetlab/html/store/app/Console/Commands/process_limit
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target

Because /opt/unetlab/html/store is no longer present, these services cannot start.

This has been reported upstream separately.


8. Temporary workaround for the failed services

Because these service files belong to the pnetlab package, I did not manually delete them.

As a temporary workaround, they can be disabled:

systemctl disable --now \
  harddisk_limit.service \
  mysql_recovery.service \
  process_limit.service

Then their failed state can be cleared with:

systemctl reset-failed \
  harddisk_limit.service \
  mysql_recovery.service \
  process_limit.service

This should be considered a workaround, not necessarily the final fix.

The correct upstream solution depends on whether these services are obsolete or whether their functionality has moved elsewhere.

If they are obsolete, they should probably no longer be shipped/enabled.

If the functionality still exists, the ExecStart paths need to be updated.


9. UFW is removed during the transaction

Another point worth mentioning:

During the APT simulation, the transaction included:

The following packages will be REMOVED:
  ufw

and installed:

iptables-persistent
netfilter-persistent

So anyone relying on UFW to protect a remote PNETLab server should check their firewall configuration before proceeding.

I strongly recommend saving the current rules before upgrading, for example:

ufw status verbose
iptables-save
ip6tables-save

Especially when performing the migration remotely over SSH.


10. Important networking note before rebooting

Because I used:

--no-cloud-uplink

the installer deliberately skipped uplink/NAT provisioning.

At the end of the installation it reported:

cloud uplink/NAT : SKIPPED by --no-cloud-uplink.

It also warned:

net.ifnames=0 remains armed by the deb; confirm your own boot-time networking survives the rename.

This matters in my environment because /etc/network/interfaces explicitly depends on:

eth0

for the management bridge.

So before rebooting a remote server, I recommend checking:

cat /proc/cmdline
ip -br addr
ip route

and confirming that the expected interface naming will still be valid after reboot.


Summary / TL;DR

I upgraded:

PNETLab 6.8.62resolute1
        ↓
PNETLab 6.8.74resolute1

on Ubuntu 26.04.

The migration completed, but I encountered the following issues.

Issue 1 — custom network configuration

The installer refused my administrator-managed /etc/network/interfaces.

For my environment, using:

--no-cloud-uplink

allowed the installer to preserve the existing networking.

Issue 2 — held PNETLab packages break the installer preflight

The installer stopped during:

exact transaction simulation

because these packages were held:

pnetlab-docker
pnetlab-guacd
pnetlab-qemu
pnetlab-schema

The underlying APT error was:

E: Held packages were changed and -y was used without --allow-change-held-packages.

Running the simulation with:

--allow-change-held-packages

worked correctly.

My workaround was to temporarily unhold those four packages before rerunning the installer.

This is reported upstream as Issue #7.

Issue 3 — obsolete/broken systemd services after upgrade

After installation, these services were failing:

harddisk_limit.service
mysql_recovery.service
process_limit.service

They are still shipped by pnetlab 6.8.74resolute1, but all reference the retired:

/opt/unetlab/html/store/

tree.

My temporary workaround was to disable them rather than delete package-owned files.

This is reported upstream as Issue #8.


Current status

The important distinction is:

The 6.8.74 installer completed successfully and its internal runtime checks passed, but the upgraded system still had post-upgrade issues requiring manual investigation/workarounds.

So I would not describe the migration as completely clean yet.

Current package version is:

pnetlab 6.8.74resolute1

but the three systemd services described above still need an upstream fix or clarification.

I hope this RETEX helps other users upgrading an existing PNETLab installation and also helps identify where the current migration path can be improved.

Edited by potamland
  • Like 1
  • Thanks 1
Posted

@potamland thanks for sharing your upgrading experience! I haven't done that yet, however, i tried to do a fresh install on the Xubuntu Desktop and although the installation succeeded, when i tied to test the WiFi virtual APs, some models seem to have issues in this pnetlab v8.74 like the AP keeps giving this status messages in the console and cannot join the WLC anymore:

hostapd_stock.service holdoff time over, scheduling restart.
hostapd_stock.service holdoff time over, scheduling restart.
hostapd_stock.service holdoff time over, scheduling restart.

I used to get the same errors in pnetlap v8.62 if i try to reboot the AP after it registers to the WLC and the only way to resolve it is to wipe off the AP and start over again! But in this v8.74, the wipe doesn't work anymore!
 

@netkillui any thoughts or fix?
BTW, v8.74 seems to resolve the immediate start of the qemu nodes without refreshing the web GUI which is nice fix!!
Thanks a lot for your great work and really appreciate your wonderful efforts!! keep it up man!!

  • Like 1
Posted

@DigitalYem

Since this looks reproducible and (maybe?) specific to v8.74, I think the best place to track it is directly on the PNETLab v8 Codeberg repository:

This is the hidden content, please

I would suggest opening issue:

WiFi AP / hostapd_stock regression

  • exact AP model
  • AP image/version
  • WLC version
  • behavior on v8.62
  • behavior on v8.74
  • console output showing the hostapd_stock.service restart loop
  • note that wiping/recreating the AP no longer fixes it on v8.74
  • Like 24
  • Thanks 5
  • Confused 1
Posted
5 hours ago, DigitalYem said:

@potamland thanks for sharing your upgrading experience! I haven't done that yet, however, i tried to do a fresh install on the Xubuntu Desktop and although the installation succeeded, when i tied to test the WiFi virtual APs, some models seem to have issues in this pnetlab v8.74 like the AP keeps giving this status messages in the console and cannot join the WLC anymore:

hostapd_stock.service holdoff time over, scheduling restart.
hostapd_stock.service holdoff time over, scheduling restart.
hostapd_stock.service holdoff time over, scheduling restart.

I used to get the same errors in pnetlap v8.62 if i try to reboot the AP after it registers to the WLC and the only way to resolve it is to wipe off the AP and start over again! But in this v8.74, the wipe doesn't work anymore!
 

@netkillui any thoughts or fix?
BTW, v8.74 seems to resolve the immediate start of the qemu nodes without refreshing the web GUI which is nice fix!!
Thanks a lot for your great work and really appreciate your wonderful efforts!! keep it up man!!

This seems to be specific to desktop install path. I will check . open an issue on codeberg for proper tracking

 

Posted
Quote
6 hours ago, netkillui said:

This seems to be specific to desktop install path. I will check . open an issue on codeberg for proper tracking

 

issues logged in details:

This is the hidden content, please

 

Thank you very much for your wonderful efforts!!

  • Like 22
  • Thanks 5
  • Sad 1
Posted (edited)
15 hours ago, potamland said:

Hi everyone,

I wanted to share my experience upgrading an existing PNETLab installation from 6.8.62resolute1 to 6.8.74resolute1 on Ubuntu 26.04 Resolute.

The upgrade eventually completed, but I encountered several issues during and after the migration.

I am sharing the details here because they may help other users upgrading an existing PNETLab installation rather than performing a fresh install.

I also reported the two main problems upstream as Codeberg issues #7 and #8.


Environment

My starting point was:

Ubuntu: 26.04 Resolute
Architecture: amd64
PNETLab: 6.8.62resolute1

Target version:

PNETLab: 6.8.74resolute1

I used the new manifest-driven network installer.


1. Installer initially refused my existing network configuration

My first attempt was:

curl -fsSL \
https://codeberg.org/api/packages/netkillui/generic/pnetlab-core-assets/0.channel/pnetlab-network-install-latest.sh \
| sudo bash -s -- \
  --yes \
  --release latest

The installer stopped during preflight with:

ERROR: preflight Check A refuses administrator content in /etc/network/interfaces; use --no-cloud-uplink

This host already had a working PNETLab network configuration in:

/etc/network/interfaces

My management interface is based on:

eth0 -> pnet0

with DHCP handled by dhcpcd, plus the usual pnet1 to pnet9 bridges and nat0.

I did not want the installer to replace or modify that existing configuration.

I therefore reran the installer using:

--no-cloud-uplink

Full command:

curl -fsSL \
https://codeberg.org/api/packages/netkillui/generic/pnetlab-core-assets/0.channel/pnetlab-network-install-latest.sh \
| sudo bash -s -- \
  --yes \
  --release latest \
  --no-cloud-uplink

The installer then explicitly reported:

Pass 2: --no-cloud-uplink explicitly selected; discovery and handoff are skipped

This allowed the installation process to continue while preserving my existing network configuration.

So, if you already have a custom or manually managed /etc/network/interfaces, I would recommend checking carefully before letting the installer modify it.

In my case, --no-cloud-uplink was required.


2. Installer preflight failed because some PNETLab packages were held

After the network preflight passed, the installer successfully resolved:

release=6.8.74resolute1
sequence=74

It verified the signed channel pointer, manifest and repository information successfully.

It then reached:

=== preflight: exact transaction simulation (last gate before mutation) ===

and stopped with:

ERROR: exact apt transaction simulation failed; no package mutation was attempted

The installer did not show the underlying APT error.

To understand the problem, I manually replayed the exact APT simulation printed by the installer.

APT then showed the real reason:

The following held packages will be changed:
  pnetlab-docker
  pnetlab-guacd
  pnetlab-qemu
  pnetlab-schema

E: Held packages were changed and -y was used without --allow-change-held-packages.

So this was not a dependency conflict.

The transaction itself could be resolved correctly, but APT refused to modify held packages because the installer was using:

apt-get install --simulate -y

without:

--allow-change-held-packages

Confirming the diagnosis

I manually reran the exact transaction simulation with:

--allow-change-held-packages

For example:

apt-get install --simulate -y \
  --allow-change-held-packages \
  ca-certificates \
  curl \
  gnupg \
  iproute2 \
  mysql-server \
  openssl \
  php8.5-fpm \
  python3-pip \
  uml-utilities \
  inotify-tools \
  pnetlab=6.8.74resolute1 \
  pnetlab-docker=6.8.74resolute1 \
  pnetlab-guacd=6.8.74resolute1 \
  pnetlab-qemu=6.8.74resolute1 \
  pnetlab-schema=6.8.74resolute1 \
  pnetlab-vpcs=6.8.74resolute1 \
  docker-ce \
  docker-ce-cli \
  containerd.io \
  docker-buildx-plugin \
  docker-compose-plugin

This time the complete transaction simulation succeeded.

APT correctly planned the upgrade to 6.8.74resolute1.


3. Workaround for the held packages

I checked the held packages and temporarily removed the hold from the four PNETLab packages involved:

apt-mark unhold \
  pnetlab-docker \
  pnetlab-guacd \
  pnetlab-qemu \
  pnetlab-schema

APT confirmed:

Canceled hold on pnetlab-docker.
Canceled hold on pnetlab-guacd.
Canceled hold on pnetlab-qemu.
Canceled hold on pnetlab-schema.

I then reran the official installer:

curl -fsSL \
https://codeberg.org/api/packages/netkillui/generic/pnetlab-core-assets/0.channel/pnetlab-network-install-latest.sh \
| sudo bash -s -- \
  --yes \
  --release latest \
  --no-cloud-uplink

This time the preflight simulation passed and the installer proceeded with the actual migration.


4. The installation itself completed

The installer successfully installed the 6.8.74resolute1 packages and reached the end of its installation workflow.

It also reported successful checks for several components, including:

Docker runtime verification
Docker-backed node smoke test
PNETLab broker socket
HTTP bridge
console mux
shell bridge
guac-lite
labstated
pnet0-9 and nat0 bridge presence
schema verification
HTTPS login verification
API login verification

The installer ended with:

=== network install completed ===

The resulting PNETLab package state was:

ii  pnetlab                 6.8.74resolute1
ii  pnetlab-bridge-dkms     6.8.74resolute1
ii  pnetlab-docker          6.8.74resolute1
ii  pnetlab-guacd           6.8.74resolute1
ii  pnetlab-qemu            6.8.74resolute1
ii  pnetlab-schema          6.8.74resolute1
ii  pnetlab-vpcs            6.8.74resolute1

So the package migration itself completed and the installer considered its own validation steps successful.

However, this does not mean that the system was completely clean after the upgrade.


5. Post-upgrade: three PNETLab systemd services are failing

After the installation, I ran:

systemctl --failed

and found these PNETLab-related failed services:

harddisk_limit.service
mysql_recovery.service
process_limit.service

The errors were:

harddisk_limit.service:
Unable to locate executable '/opt/unetlab/html/store/app/Console/Commands/harddisk_limit'
mysql_recovery.service:
Could not open input file: /opt/unetlab/html/store/artisan
process_limit.service:
Unable to locate executable '/opt/unetlab/html/store/app/Console/Commands/process_limit'

All three units still reference:

/opt/unetlab/html/store/

The old PNETLab Store component has been retired, so these files no longer exist.


6. These services are not simply leftovers from the old installation

Initially, I thought these could just be obsolete systemd units left behind by the previous pnetlab-store package.

However, I checked them with:

dpkg -S \
  /etc/systemd/system/harddisk_limit.service \
  /etc/systemd/system/mysql_recovery.service \
  /etc/systemd/system/process_limit.service

The result was:

pnetlab: /etc/systemd/system/harddisk_limit.service
pnetlab: /etc/systemd/system/mysql_recovery.service
pnetlab: /etc/systemd/system/process_limit.service

I also checked the package contents:

dpkg -L pnetlab | grep -E 'harddisk_limit|mysql_recovery|process_limit'

and confirmed that the current pnetlab package still contains all three units.

So these are not orphaned files from an old package.

They are currently shipped by pnetlab 6.8.74resolute1.


7. Contents of the failing units

harddisk_limit.service:

[Unit]
Description=Update Hard disk status
After=mysql.service

[Service]
ExecStart=/opt/unetlab/html/store/app/Console/Commands/harddisk_limit
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target

mysql_recovery.service:

[Unit]
Description=Check database
After=mysql.service

[Service]
ExecStart=/usr/bin/php /opt/unetlab/html/store/artisan mysql_recovery run
RemainAfterExit=false

[Install]
WantedBy=multi-user.target

process_limit.service:

[Unit]
Description=Update RAM CPU status
After=mysql.service

[Service]
ExecStart=/opt/unetlab/html/store/app/Console/Commands/process_limit
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target

Because /opt/unetlab/html/store is no longer present, these services cannot start.

This has been reported upstream separately.


8. Temporary workaround for the failed services

Because these service files belong to the pnetlab package, I did not manually delete them.

As a temporary workaround, they can be disabled:

systemctl disable --now \
  harddisk_limit.service \
  mysql_recovery.service \
  process_limit.service

Then their failed state can be cleared with:

systemctl reset-failed \
  harddisk_limit.service \
  mysql_recovery.service \
  process_limit.service

This should be considered a workaround, not necessarily the final fix.

The correct upstream solution depends on whether these services are obsolete or whether their functionality has moved elsewhere.

If they are obsolete, they should probably no longer be shipped/enabled.

If the functionality still exists, the ExecStart paths need to be updated.


9. UFW is removed during the transaction

Another point worth mentioning:

During the APT simulation, the transaction included:

The following packages will be REMOVED:
  ufw

and installed:

iptables-persistent
netfilter-persistent

So anyone relying on UFW to protect a remote PNETLab server should check their firewall configuration before proceeding.

I strongly recommend saving the current rules before upgrading, for example:

ufw status verbose
iptables-save
ip6tables-save

Especially when performing the migration remotely over SSH.


10. Important networking note before rebooting

Because I used:

--no-cloud-uplink

the installer deliberately skipped uplink/NAT provisioning.

At the end of the installation it reported:

cloud uplink/NAT : SKIPPED by --no-cloud-uplink.

It also warned:

net.ifnames=0 remains armed by the deb; confirm your own boot-time networking survives the rename.

This matters in my environment because /etc/network/interfaces explicitly depends on:

eth0

for the management bridge.

So before rebooting a remote server, I recommend checking:

cat /proc/cmdline
ip -br addr
ip route

and confirming that the expected interface naming will still be valid after reboot.


Summary / TL;DR

I upgraded:

PNETLab 6.8.62resolute1
        ↓
PNETLab 6.8.74resolute1

on Ubuntu 26.04.

The migration completed, but I encountered the following issues.

Issue 1 — custom network configuration

The installer refused my administrator-managed /etc/network/interfaces.

For my environment, using:

--no-cloud-uplink

allowed the installer to preserve the existing networking.

Issue 2 — held PNETLab packages break the installer preflight

The installer stopped during:

exact transaction simulation

because these packages were held:

pnetlab-docker
pnetlab-guacd
pnetlab-qemu
pnetlab-schema

The underlying APT error was:

E: Held packages were changed and -y was used without --allow-change-held-packages.

Running the simulation with:

--allow-change-held-packages

worked correctly.

My workaround was to temporarily unhold those four packages before rerunning the installer.

This is reported upstream as Issue #7.

Issue 3 — obsolete/broken systemd services after upgrade

After installation, these services were failing:

harddisk_limit.service
mysql_recovery.service
process_limit.service

They are still shipped by pnetlab 6.8.74resolute1, but all reference the retired:

/opt/unetlab/html/store/

tree.

My temporary workaround was to disable them rather than delete package-owned files.

This is reported upstream as Issue #8.


Current status

The important distinction is:

The 6.8.74 installer completed successfully and its internal runtime checks passed, but the upgraded system still had post-upgrade issues requiring manual investigation/workarounds.

So I would not describe the migration as completely clean yet.

Current package version is:

pnetlab 6.8.74resolute1

but the three systemd services described above still need an upstream fix or clarification.

I hope this RETEX helps other users upgrading an existing PNETLab installation and also helps identify where the current migration path can be improved.

Netinstall is supported from .70 on wards. it is recommended to do fresh install if you are on any prior releases. Pnetlabv8 versions running >.70 support pnetlab-update to signed newer releases without hiccups.

Edited by netkillui
  • Like 2
Posted

Hello , @

This is the hidden content, please

I used option 2 (OVA) to install PNetLab v8 6.8.74. After running the command "systemctl restart pnetlab-netinstall-firstboot", Minimal Ubuntu 26.04 fails to boot when prompted for network configuration (DHCP or static). What should I do?

  • Like 13
  • Thanks 4
Posted
7 hours ago, parker06 said:

Hello , @

This is the hidden content, please

I used option 2 (OVA) to install PNetLab v8 6.8.74. After running the command "systemctl restart pnetlab-netinstall-firstboot", Minimal Ubuntu 26.04 fails to boot when prompted for network configuration (DHCP or static). What should I do?

ensure you have internet connection. try with fresh OVA import. 

 

  • Like 14
  • Thanks 2
Posted

I cannot update the pnetlab with the following messages.

 

===== 2026-09-10T17:04:04Z pnetlab-update  =====
Refreshing the PNetLab Codeberg source only...
Hit:1

This is the hidden content, please
resolute InRelease
Reading package lists...
PACKAGE                          OLD                          NEW
-------------------------------- ---------------------------- ----------------------------
pnetlab                          6.8.74resolute1              6.8.78resolute1
pnetlab-bridge-dkms              6.8.74resolute1              6.8.78resolute1
pnetlab-docker                   6.8.74resolute1              6.8.78resolute1
pnetlab-guacd                    6.8.74resolute1              6.8.78resolute1
pnetlab-qemu                     6.8.74resolute1              6.8.78resolute1
pnetlab-schema                   6.8.74resolute1              6.8.78resolute1
pnetlab-vpcs                     6.8.74resolute1              6.8.78resolute1
Fetching signed release-readiness manifest for 6.8.78resolute1...
Release ready: verified 6.8.78resolute1 manifest (78,0) sha256=289945b0ea1e6d364d5c892f17945ec4ac5e042b57b65724d250329b5950f8c3
Downloading update packages without applying them...
Reading package lists...
Building dependency tree...
Reading state information...
Solving dependencies...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 pnetlab-qemu : Depends: swtpm but it is not installable
                Depends: swtpm-tools but it is not installable
E: Unable to satisfy dependencies. Reached two conflicting assignments:
   1. pnetlab-qemu:amd64=6.8.78resolute1 is selected as an upgrade
   2. pnetlab-qemu:amd64=6.8.78resolute1 Depends swtpm
      but none of the choices are installable:
      [no choices]
ERROR: the PNetLab packages could not be resolved or downloaded. The updater
refreshed only the signed PNetLab source and did not refresh Ubuntu sources.
Missing python3-httpx/python3-websockets, or a dependency added by a future
Ubuntu/PNetLab release, must be resolved by an administrator from the normal
Ubuntu archive first. Review the error above, refresh Ubuntu sources manually
if appropriate, install the missing dependency, and retry pnetlab-update.
 

  • Like 17
  • Thanks 3
  • Confused 1
  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...