User Tools

  • (equal to forum credentials)

Site Tools


update_issues

This is an old revision of the document!


Common update issues

Python upgrade

When upgrading, you can encounter this issue:

The following packages will be upgraded:
libpython2.7 python2.7 python2.7-minimal
3 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/5,438 kB of archives.
After this operation, 1,024 B of additional disk space will be used.
Do you want to continue [Y/n]? Y
Create a snapshot of '/tmp/btrfs-snap/root/@' in '/tmp/btrfs-snap/root/@btrfs-auto-snap_apt-run-2014-04-13-0953'
Delete subvolume '/tmp/btrfs-snap/root/@btrfs-auto-snap_apt-run-2014-04-13-0947'
@btrfs-auto-snap_apt-run-2014-04-13-0953, 1 created snapshots, 1 destroyed snapshots, 0 warnings.
(Reading database ... 32416 files and directories currently installed.)
Preparing to replace python2.7-minimal 2.7.3-6 (using .../python2.7-minimal_2.7.3-6+deb7u2_armhf.deb) ...
Unpacking replacement python2.7-minimal ...
dpkg: error processing /var/cache/apt/archives/python2.7-minimal_2.7.3-6+deb7u2_armhf.deb (--unpack):
trying to overwrite '/usr/lib/python2.7/lib-dynload/_hashlib.so', which is also in package python2.7 2.7.3-6
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/python2.7-minimal_2.7.3-6+deb7u2_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Notice, that this is an issue with the official Raspbian Repository. However, the following fix takes care of it:

sudo sed -i '/_hashlib.so/d' /var/lib/dpkg/info/python2.7.list
sudo sed -i '/_ssl.so/d' /var/lib/dpkg/info/python2.7.list

Now continue your upgrade as did before.

AutoFS issues Beta 2

If you are getting autofs errors trying to upgrade from Beta2 to RC1 just reboot and start the update process again.

update_issues.1401402147.txt.gz · Last modified: 2014/05/30 00:22 by CurlyMo