Difference: DebianPackages (6 vs. 7)

Revision 708 Nov 2014 - TobyCabot

Line: 1 to 1
 (other DebianTips)

I once had a problem where apt-get and dselect started seg-faulting when they were "Building Dependency Tree". Moving /var/cache/apt/pkgcache.bin and /var/cache/apt/pkgcache.bin to /tmp (i.e. getting rid of them) seemed to fix things.

Line: 87 to 87
 
dpkg-awk "Status: .* installed$" -- Package Installed-Size| awk '{print $2}' | egrep -v '^$' | xargs -n2 echo | perl -pe 's/(\S+)\s(\S+)/$2 $1/' | sort -rg
Added:
>
>

Upgrade Debian: http://q-funk.blogspot.com/2014/11/hel-has-just-frozen-over-wait-no-debian.html

sudo apt-get update && \
sudo apt-get install apt dpkg gnupg gnupg2 locales && \
sudo apt-get --purge dist-upgrade && \
sudo apt-get --fix-policy install && \
sudo apt-get --purge autoremove $(deborphan --guess-all)

The last line is useful for getting rid of unneeded packages anytime, not just after an upgrade.

View topic | History: r7 < r6 < r5 < r4 | More topic actions...
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding The Caboteria? Send feedback