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. |
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: 80 to 80 | ||||||||
apt-get -t unstable install | ||||||||
Added: | ||||||||
> > |
List installed packages by size: 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 |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
(other DebianTips) | ||||||||
Added: | ||||||||
> > | 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.
| |||||||
Build a package from source? See the FAQ: http://www.debian.org/doc/FAQ/ch-pkg_basics.html#s-sourcebuild |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
(other DebianTips) Build a package from source? See the FAQ: | ||||||||
Line: 60 to 60 | ||||||||
to upgrade all unstable packages to their newest versions. | ||||||||
Added: | ||||||||
> > | Another approach to the same thing:
From: Jens Hoffrichter |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
(other DebianTips) Build a package from source? See the FAQ: | ||||||||
Line: 5 to 6 | ||||||||
http://www.debian.org/doc/FAQ/ch-pkg_basics.html#s-sourcebuild | ||||||||
Added: | ||||||||
> > | How to run woody but with some packages from sid:
For all those that are using Woody but would like to sometimes run a few packages from Sid, this fix works like a charm. I couldn't find the specifics documented anywhere, but I felt others would like to know about it. /etc/apt/preferences Package: * Pin: release a=unstable Pin-Priority: 50 /etc/apt/sources.list deb http://http.us.debian.org/debian unstable main contrib non-free What will these lines do? Pinning the priority of unstable to 50 makes it so that these packages are never automatically selected for upgrade. The sources.list line is needed so that packages that are not in woody are installed with `apt-get evolution` (for example). Dependencies are handled correctly and the system remains on Woody packages with the exceptions of the explicitly loaded ones.also: apt-show-versions is a script which eases maintenance of mixed stable/testing or testing/unstable systems. While beeing able to update the packages from your *main* distribution with apt-get upgrade it is quite difficult to do the same for the *not-main* packages. While you can use the pinning feature of apt if these are only a few it is quite annoying to put all the package names in apt/preferences which should be pinned. Like in one of my installation where I have 247 packages from stable and 229 from testing. Try apt-show-versions | fgrep /testing | wc to see how many packages you have from testing or apt-show-versions -u to see a list of packages which are upgradeable either to stable or testing or unstable or apt-get install `apt-show-versions -u -b | fgrep unstable` to upgrade all unstable packages to their newest versions. | |||||||
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Added: | ||||||||
> > | (other DebianTips) | |||||||
Build a package from source? See the FAQ: http://www.debian.org/doc/FAQ/ch-pkg_basics.html#s-sourcebuild |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Added: | ||||||||
> > | Build a package from source? See the FAQ: http://www.debian.org/doc/FAQ/ch-pkg_basics.html#s-sourcebuild |