debian secrets loadays

53

Upload: loadays

Post on 18-Dec-2014

594 views

Category:

Technology


1 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

Debian SecretsPower tools for Power users

Wouter Verhelst

FOSDEM 2010/Loadays 2010

Wouter Verhelst Debian Secrets

Page 2: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

update-alternativesdpkg-statoverride

update-alternatives

multiple packages providing a particular command

update-alternatives −−config x-terminal-emulator

more info: man update-alternatives

Wouter Verhelst Debian Secrets

Page 3: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

update-alternativesdpkg-statoverride

update-alternatives

multiple packages providing a particular command

update-alternatives −−config x-terminal-emulator

more info: man update-alternatives

Wouter Verhelst Debian Secrets

Page 4: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

update-alternativesdpkg-statoverride

update-alternatives

multiple packages providing a particular command

update-alternatives −−config x-terminal-emulator

more info: man update-alternatives

Wouter Verhelst Debian Secrets

Page 5: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

update-alternativesdpkg-statoverride

dpkg-statoverride

Limit access to wodim to a group of users

−rwxr−x−−− 1 root cdwriters 401624 May 25 20:12

/usr/bin/wodim

upgrades?

dpkg-statoverride −−update −−add root cdwriters

0750 /usr/bin/wodim

more info: man dpkg-statoverride

Wouter Verhelst Debian Secrets

Page 6: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

update-alternativesdpkg-statoverride

dpkg-statoverride

Limit access to wodim to a group of users

−rwxr−x−−− 1 root cdwriters 401624 May 25 20:12

/usr/bin/wodim

upgrades?

dpkg-statoverride −−update −−add root cdwriters

0750 /usr/bin/wodim

more info: man dpkg-statoverride

Wouter Verhelst Debian Secrets

Page 7: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

update-alternativesdpkg-statoverride

dpkg-statoverride

Limit access to wodim to a group of users

−rwxr−x−−− 1 root cdwriters 401624 May 25 20:12

/usr/bin/wodim

upgrades?

dpkg-statoverride −−update −−add root cdwriters

0750 /usr/bin/wodim

more info: man dpkg-statoverride

Wouter Verhelst Debian Secrets

Page 8: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

update-alternativesdpkg-statoverride

dpkg-statoverride

Limit access to wodim to a group of users

−rwxr−x−−− 1 root cdwriters 401624 May 25 20:12

/usr/bin/wodim

upgrades?

dpkg-statoverride −−update −−add root cdwriters

0750 /usr/bin/wodim

more info: man dpkg-statoverride

Wouter Verhelst Debian Secrets

Page 9: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

update-alternativesdpkg-statoverride

dpkg-statoverride

Limit access to wodim to a group of users

−rwxr−x−−− 1 root cdwriters 401624 May 25 20:12

/usr/bin/wodim

upgrades?

dpkg-statoverride −−update −−add root cdwriters

0750 /usr/bin/wodim

more info: man dpkg-statoverride

Wouter Verhelst Debian Secrets

Page 10: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

debtagsgrep-available

Searching for packages: debtags

apt-cache search: works, but limited.

too di�cult search => brain goes banana

debtags: more �ne-grained searching

GoPlay! (or GoAdmin! :)

package: debtags, goplaymore info: http://debtags.alioth.debian.org/

Wouter Verhelst Debian Secrets

Page 11: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

debtagsgrep-available

Searching for packages: debtags

apt-cache search: works, but limited.

too di�cult search => brain goes banana

debtags: more �ne-grained searching

GoPlay! (or GoAdmin! :)

package: debtags, goplaymore info: http://debtags.alioth.debian.org/

Wouter Verhelst Debian Secrets

Page 12: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

debtagsgrep-available

Searching for packages: debtags

apt-cache search: works, but limited.

too di�cult search => brain goes banana

debtags: more �ne-grained searching

GoPlay! (or GoAdmin! :)

package: debtags, goplaymore info: http://debtags.alioth.debian.org/

Wouter Verhelst Debian Secrets

Page 13: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

debtagsgrep-available

Searching for packages: debtags

apt-cache search: works, but limited.

too di�cult search => brain goes banana

debtags: more �ne-grained searching

GoPlay! (or GoAdmin! :)

package: debtags, goplaymore info: http://debtags.alioth.debian.org/

Wouter Verhelst Debian Secrets

Page 14: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

debtagsgrep-available

Searching for packages: debtags

apt-cache search: works, but limited.

too di�cult search => brain goes banana

debtags: more �ne-grained searching

GoPlay! (or GoAdmin! :)

package: debtags, goplaymore info: http://debtags.alioth.debian.org/

Wouter Verhelst Debian Secrets

Page 15: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

debtagsgrep-available

Searching for packages: grep-available

you know some things about the package

searching for packages by control �elds

grep-available -FMaintainer '[email protected]'

-sPackage

grep-available -FSource 'linux-2.6' -a -FPackage

'image' -sPackage

grep-available -FSource 'linux-2.6' -a -FPackage

'image' -sPackage -sVersion

package: dctrl-toolsmore info: man grep-available

Wouter Verhelst Debian Secrets

Page 16: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

debtagsgrep-available

Searching for packages: grep-available

you know some things about the package

searching for packages by control �elds

grep-available -FMaintainer '[email protected]'

-sPackage

grep-available -FSource 'linux-2.6' -a -FPackage

'image' -sPackage

grep-available -FSource 'linux-2.6' -a -FPackage

'image' -sPackage -sVersion

package: dctrl-toolsmore info: man grep-available

Wouter Verhelst Debian Secrets

Page 17: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

debtagsgrep-available

Searching for packages: grep-available

you know some things about the package

searching for packages by control �elds

grep-available -FMaintainer '[email protected]'

-sPackage

grep-available -FSource 'linux-2.6' -a -FPackage

'image' -sPackage

grep-available -FSource 'linux-2.6' -a -FPackage

'image' -sPackage -sVersion

package: dctrl-toolsmore info: man grep-available

Wouter Verhelst Debian Secrets

Page 18: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

debtagsgrep-available

Searching for packages: grep-available

you know some things about the package

searching for packages by control �elds

grep-available -FMaintainer '[email protected]'

-sPackage

grep-available -FSource 'linux-2.6' -a -FPackage

'image' -sPackage

grep-available -FSource 'linux-2.6' -a -FPackage

'image' -sPackage -sVersion

package: dctrl-toolsmore info: man grep-available

Wouter Verhelst Debian Secrets

Page 19: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

debtagsgrep-available

Searching for packages: grep-available

you know some things about the package

searching for packages by control �elds

grep-available -FMaintainer '[email protected]'

-sPackage

grep-available -FSource 'linux-2.6' -a -FPackage

'image' -sPackage

grep-available -FSource 'linux-2.6' -a -FPackage

'image' -sPackage -sVersion

package: dctrl-toolsmore info: man grep-available

Wouter Verhelst Debian Secrets

Page 20: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

debtagsgrep-available

Searching for packages: grep-available

you know some things about the package

searching for packages by control �elds

grep-available -FMaintainer '[email protected]'

-sPackage

grep-available -FSource 'linux-2.6' -a -FPackage

'image' -sPackage

grep-available -FSource 'linux-2.6' -a -FPackage

'image' -sPackage -sVersion

package: dctrl-toolsmore info: man grep-available

Wouter Verhelst Debian Secrets

Page 21: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

dpkg-divertdpkg-repackequivs

dpkg-divert: move �les aside

Install nVidia binary module from nvidia.com

nVidia wants to install /usr/lib/libGL.so

apt-get upgrade. . .

instead: dpkg-divert −−divert

/usr/lib/libGL.so.Debian /usr/lib/libGL.so

Then, and only then, install nVidia binary module and software

Warning: do NOT use for con�guration �lesmore info: man dpkg-divert

Wouter Verhelst Debian Secrets

Page 22: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

dpkg-divertdpkg-repackequivs

dpkg-divert: move �les aside

Install nVidia binary module from nvidia.com

nVidia wants to install /usr/lib/libGL.so

apt-get upgrade. . .

instead: dpkg-divert −−divert

/usr/lib/libGL.so.Debian /usr/lib/libGL.so

Then, and only then, install nVidia binary module and software

Warning: do NOT use for con�guration �lesmore info: man dpkg-divert

Wouter Verhelst Debian Secrets

Page 23: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

dpkg-divertdpkg-repackequivs

dpkg-divert: move �les aside

Install nVidia binary module from nvidia.com

nVidia wants to install /usr/lib/libGL.so

apt-get upgrade. . .

instead: dpkg-divert −−divert

/usr/lib/libGL.so.Debian /usr/lib/libGL.so

Then, and only then, install nVidia binary module and software

Warning: do NOT use for con�guration �lesmore info: man dpkg-divert

Wouter Verhelst Debian Secrets

Page 24: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

dpkg-divertdpkg-repackequivs

dpkg-divert: move �les aside

Install nVidia binary module from nvidia.com

nVidia wants to install /usr/lib/libGL.so

apt-get upgrade. . .

instead: dpkg-divert −−divert

/usr/lib/libGL.so.Debian /usr/lib/libGL.so

Then, and only then, install nVidia binary module and software

Warning: do NOT use for con�guration �lesmore info: man dpkg-divert

Wouter Verhelst Debian Secrets

Page 25: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

dpkg-divertdpkg-repackequivs

dpkg-divert: move �les aside

Install nVidia binary module from nvidia.com

nVidia wants to install /usr/lib/libGL.so

apt-get upgrade. . .

instead: dpkg-divert −−divert

/usr/lib/libGL.so.Debian /usr/lib/libGL.so

Then, and only then, install nVidia binary module and software

Warning: do NOT use for con�guration �lesmore info: man dpkg-divert

Wouter Verhelst Debian Secrets

Page 26: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

dpkg-divertdpkg-repackequivs

dpkg-divert: move �les aside

Install nVidia binary module from nvidia.com

nVidia wants to install /usr/lib/libGL.so

apt-get upgrade. . .

instead: dpkg-divert −−divert

/usr/lib/libGL.so.Debian /usr/lib/libGL.so

Then, and only then, install nVidia binary module and software

Warning: do NOT use for con�guration �les

more info: man dpkg-divert

Wouter Verhelst Debian Secrets

Page 27: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

dpkg-divertdpkg-repackequivs

dpkg-divert: move �les aside

Install nVidia binary module from nvidia.com

nVidia wants to install /usr/lib/libGL.so

apt-get upgrade. . .

instead: dpkg-divert −−divert

/usr/lib/libGL.so.Debian /usr/lib/libGL.so

Then, and only then, install nVidia binary module and software

Warning: do NOT use for con�guration �lesmore info: man dpkg-divert

Wouter Verhelst Debian Secrets

Page 28: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

dpkg-divertdpkg-repackequivs

dpkg-repack: Re-create a package �le from an installedpackage

Install great-game-nonfree from game-writer-company

game-writer-company goes bankrupt, and your CD-ROM islost

Buy new computer, want to play great-game-nonfree there too

Use dpkg-repack to create new package to install on newcomputer

package: dpkg-repackmore info: man dpkg-repack

Wouter Verhelst Debian Secrets

Page 29: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

dpkg-divertdpkg-repackequivs

dpkg-repack: Re-create a package �le from an installedpackage

Install great-game-nonfree from game-writer-company

game-writer-company goes bankrupt, and your CD-ROM islost

Buy new computer, want to play great-game-nonfree there too

Use dpkg-repack to create new package to install on newcomputer

package: dpkg-repackmore info: man dpkg-repack

Wouter Verhelst Debian Secrets

Page 30: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

dpkg-divertdpkg-repackequivs

dpkg-repack: Re-create a package �le from an installedpackage

Install great-game-nonfree from game-writer-company

game-writer-company goes bankrupt, and your CD-ROM islost

Buy new computer, want to play great-game-nonfree there too

Use dpkg-repack to create new package to install on newcomputer

package: dpkg-repackmore info: man dpkg-repack

Wouter Verhelst Debian Secrets

Page 31: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

dpkg-divertdpkg-repackequivs

dpkg-repack: Re-create a package �le from an installedpackage

Install great-game-nonfree from game-writer-company

game-writer-company goes bankrupt, and your CD-ROM islost

Buy new computer, want to play great-game-nonfree there too

Use dpkg-repack to create new package to install on newcomputer

package: dpkg-repackmore info: man dpkg-repack

Wouter Verhelst Debian Secrets

Page 32: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

dpkg-divertdpkg-repackequivs

dpkg-repack: Re-create a package �le from an installedpackage

Install great-game-nonfree from game-writer-company

game-writer-company goes bankrupt, and your CD-ROM islost

Buy new computer, want to play great-game-nonfree there too

Use dpkg-repack to create new package to install on newcomputer

package: dpkg-repackmore info: man dpkg-repack

Wouter Verhelst Debian Secrets

Page 33: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

dpkg-divertdpkg-repackequivs

Equivs: NIH

Install self-written not-invented-here MTA

apt-get install cron pulls in exim4

install bogus mail-transport-agent package to satisfy depends

package: equivsmore info: man equivs-build and man equivs-control, also see/usr/share/doc/equivs

Wouter Verhelst Debian Secrets

Page 34: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

dpkg-divertdpkg-repackequivs

Equivs: NIH

Install self-written not-invented-here MTA

apt-get install cron pulls in exim4

install bogus mail-transport-agent package to satisfy depends

package: equivsmore info: man equivs-build and man equivs-control, also see/usr/share/doc/equivs

Wouter Verhelst Debian Secrets

Page 35: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

dpkg-divertdpkg-repackequivs

Equivs: NIH

Install self-written not-invented-here MTA

apt-get install cron pulls in exim4

install bogus mail-transport-agent package to satisfy depends

package: equivsmore info: man equivs-build and man equivs-control, also see/usr/share/doc/equivs

Wouter Verhelst Debian Secrets

Page 36: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

dpkg-divertdpkg-repackequivs

Equivs: NIH

Install self-written not-invented-here MTA

apt-get install cron pulls in exim4

install bogus mail-transport-agent package to satisfy depends

package: equivsmore info: man equivs-build and man equivs-control, also see/usr/share/doc/equivs

Wouter Verhelst Debian Secrets

Page 37: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

Finding problems before installingKeeping your system tidy

apt-listbugs/apt-listchanges: reviewing before installing

install very-buggy-package from unstable

apt-listbugs �nds and lists release-critical bugs

User can choose to decline downloading/installing

apt-get or aptitude downloads packages

apt-listchanges lists changelog items and/or NEWS.Debianitems

User can choose to decline installing

packages: apt-listbugs, apt-listchanges

Wouter Verhelst Debian Secrets

Page 38: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

Finding problems before installingKeeping your system tidy

apt-listbugs/apt-listchanges: reviewing before installing

install very-buggy-package from unstable

apt-listbugs �nds and lists release-critical bugs

User can choose to decline downloading/installing

apt-get or aptitude downloads packages

apt-listchanges lists changelog items and/or NEWS.Debianitems

User can choose to decline installing

packages: apt-listbugs, apt-listchanges

Wouter Verhelst Debian Secrets

Page 39: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

Finding problems before installingKeeping your system tidy

apt-listbugs/apt-listchanges: reviewing before installing

install very-buggy-package from unstable

apt-listbugs �nds and lists release-critical bugs

User can choose to decline downloading/installing

apt-get or aptitude downloads packages

apt-listchanges lists changelog items and/or NEWS.Debianitems

User can choose to decline installing

packages: apt-listbugs, apt-listchanges

Wouter Verhelst Debian Secrets

Page 40: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

Finding problems before installingKeeping your system tidy

apt-listbugs/apt-listchanges: reviewing before installing

install very-buggy-package from unstable

apt-listbugs �nds and lists release-critical bugs

User can choose to decline downloading/installing

apt-get or aptitude downloads packages

apt-listchanges lists changelog items and/or NEWS.Debianitems

User can choose to decline installing

packages: apt-listbugs, apt-listchanges

Wouter Verhelst Debian Secrets

Page 41: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

Finding problems before installingKeeping your system tidy

apt-listbugs/apt-listchanges: reviewing before installing

install very-buggy-package from unstable

apt-listbugs �nds and lists release-critical bugs

User can choose to decline downloading/installing

apt-get or aptitude downloads packages

apt-listchanges lists changelog items and/or NEWS.Debianitems

User can choose to decline installing

packages: apt-listbugs, apt-listchanges

Wouter Verhelst Debian Secrets

Page 42: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

Finding problems before installingKeeping your system tidy

apt-listbugs/apt-listchanges: reviewing before installing

install very-buggy-package from unstable

apt-listbugs �nds and lists release-critical bugs

User can choose to decline downloading/installing

apt-get or aptitude downloads packages

apt-listchanges lists changelog items and/or NEWS.Debianitems

User can choose to decline installing

packages: apt-listbugs, apt-listchanges

Wouter Verhelst Debian Secrets

Page 43: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

Finding problems before installingKeeping your system tidy

apt-listbugs/apt-listchanges: reviewing before installing

install very-buggy-package from unstable

apt-listbugs �nds and lists release-critical bugs

User can choose to decline downloading/installing

apt-get or aptitude downloads packages

apt-listchanges lists changelog items and/or NEWS.Debianitems

User can choose to decline installing

packages: apt-listbugs, apt-listchanges

Wouter Verhelst Debian Secrets

Page 44: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

Finding problems before installingKeeping your system tidy

debfoster, deborphan, aptitude: �nding unused packages

apt-get install warzone2100

Pulls in several libraries

You don't like the game; apt-get −−purge remove

warzone2100

Libraries?

debfoster/aptitude: keep track of what was installed manuallyor as a dependency

deborphan: �nd unused libraries � needs to guess, may bewrong.

packages: debfoster, deborphan

Wouter Verhelst Debian Secrets

Page 45: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

Finding problems before installingKeeping your system tidy

debfoster, deborphan, aptitude: �nding unused packages

apt-get install warzone2100

Pulls in several libraries

You don't like the game; apt-get −−purge remove

warzone2100

Libraries?

debfoster/aptitude: keep track of what was installed manuallyor as a dependency

deborphan: �nd unused libraries � needs to guess, may bewrong.

packages: debfoster, deborphan

Wouter Verhelst Debian Secrets

Page 46: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

Finding problems before installingKeeping your system tidy

debfoster, deborphan, aptitude: �nding unused packages

apt-get install warzone2100

Pulls in several libraries

You don't like the game; apt-get −−purge remove

warzone2100

Libraries?

debfoster/aptitude: keep track of what was installed manuallyor as a dependency

deborphan: �nd unused libraries � needs to guess, may bewrong.

packages: debfoster, deborphan

Wouter Verhelst Debian Secrets

Page 47: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

Finding problems before installingKeeping your system tidy

debfoster, deborphan, aptitude: �nding unused packages

apt-get install warzone2100

Pulls in several libraries

You don't like the game; apt-get −−purge remove

warzone2100

Libraries?

debfoster/aptitude: keep track of what was installed manuallyor as a dependency

deborphan: �nd unused libraries � needs to guess, may bewrong.

packages: debfoster, deborphan

Wouter Verhelst Debian Secrets

Page 48: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

Finding problems before installingKeeping your system tidy

debfoster, deborphan, aptitude: �nding unused packages

apt-get install warzone2100

Pulls in several libraries

You don't like the game; apt-get −−purge remove

warzone2100

Libraries?

debfoster/aptitude: keep track of what was installed manuallyor as a dependency

deborphan: �nd unused libraries � needs to guess, may bewrong.

packages: debfoster, deborphan

Wouter Verhelst Debian Secrets

Page 49: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

Finding problems before installingKeeping your system tidy

debfoster, deborphan, aptitude: �nding unused packages

apt-get install warzone2100

Pulls in several libraries

You don't like the game; apt-get −−purge remove

warzone2100

Libraries?

debfoster/aptitude: keep track of what was installed manuallyor as a dependency

deborphan: �nd unused libraries � needs to guess, may bewrong.

packages: debfoster, deborphan

Wouter Verhelst Debian Secrets

Page 50: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

Finding problems before installingKeeping your system tidy

debfoster, deborphan, aptitude: �nding unused packages

apt-get install warzone2100

Pulls in several libraries

You don't like the game; apt-get −−purge remove

warzone2100

Libraries?

debfoster/aptitude: keep track of what was installed manuallyor as a dependency

deborphan: �nd unused libraries � needs to guess, may bewrong.

packages: debfoster, deborphan

Wouter Verhelst Debian Secrets

Page 51: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

Changing the Debian menu

Standard menu in most window managers (not all desktopenvironments)

Modify through /etc/menu, /.menu

package: menumore info: /usr/share/doc/menu/html, chapter 3 (syntaxis),chapter 6 (how to override)

Wouter Verhelst Debian Secrets

Page 52: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

Changing the Debian menu

Standard menu in most window managers (not all desktopenvironments)

Modify through /etc/menu, /.menu

package: menumore info: /usr/share/doc/menu/html, chapter 3 (syntaxis),chapter 6 (how to override)

Wouter Verhelst Debian Secrets

Page 53: Debian Secrets Loadays

Changing system behaviourSearching

Fooling the package systemAnticipating and correcting problems

Debian menu

Changing the Debian menu

Standard menu in most window managers (not all desktopenvironments)

Modify through /etc/menu, /.menu

package: menumore info: /usr/share/doc/menu/html, chapter 3 (syntaxis),chapter 6 (how to override)

Wouter Verhelst Debian Secrets