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. |