SlideShare a Scribd company logo
1 of 53
Download to read offline
Changing system behaviour
                           Searching
         Fooling the package system
Anticipating and correcting problems
                       Debian menu




                        Debian Secrets
                 Power tools for Power users
                          Wouter Verhelst
                FOSDEM 2010/Loadays 2010


                    Wouter Verhelst    Debian Secrets
Changing system behaviour
                                    Searching
                                                update-alternatives
                  Fooling the package system
                                                dpkg-statoverride
         Anticipating and correcting problems
                                Debian menu


update-alternatives




      multiple packages providing a particular command




                             Wouter Verhelst    Debian Secrets
Changing system behaviour
                                    Searching
                                                update-alternatives
                  Fooling the package system
                                                dpkg-statoverride
         Anticipating and correcting problems
                                Debian menu


update-alternatives




      multiple packages providing a particular command
      update-alternatives −−config x-terminal-emulator




                             Wouter Verhelst    Debian Secrets
Changing system behaviour
                                    Searching
                                                update-alternatives
                  Fooling the package system
                                                dpkg-statoverride
         Anticipating and correcting problems
                                Debian menu


update-alternatives




      multiple packages providing a particular command
      update-alternatives −−config x-terminal-emulator
  more info: man update-alternatives



                             Wouter Verhelst    Debian Secrets
Changing system behaviour
                                    Searching
                                                update-alternatives
                  Fooling the package system
                                                dpkg-statoverride
         Anticipating and correcting problems
                                Debian menu


dpkg-statoverride



      Limit access to wodim to a group of users




                             Wouter Verhelst    Debian Secrets
Changing system behaviour
                                    Searching
                                                update-alternatives
                  Fooling the package system
                                                dpkg-statoverride
         Anticipating and correcting problems
                                Debian menu


dpkg-statoverride



      Limit access to wodim to a group of users
      −rwxr−x− − − 1 root cdwriters 401624 May 25 20:12
      /usr/bin/wodim




                             Wouter Verhelst    Debian Secrets
Changing system behaviour
                                    Searching
                                                update-alternatives
                  Fooling the package system
                                                dpkg-statoverride
         Anticipating and correcting problems
                                Debian menu


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?




                             Wouter Verhelst    Debian Secrets
Changing system behaviour
                                    Searching
                                                update-alternatives
                  Fooling the package system
                                                dpkg-statoverride
         Anticipating and correcting problems
                                Debian menu


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




                             Wouter Verhelst    Debian Secrets
Changing system behaviour
                                    Searching
                                                update-alternatives
                  Fooling the package system
                                                dpkg-statoverride
         Anticipating and correcting problems
                                Debian menu


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
Changing system behaviour
                                    Searching
                                                debtags
                  Fooling the package system
                                                grep-available
         Anticipating and correcting problems
                                Debian menu


Searching for packages: debtags



      apt-cache search: works, but limited.




                             Wouter Verhelst    Debian Secrets
Changing system behaviour
                                    Searching
                                                debtags
                  Fooling the package system
                                                grep-available
         Anticipating and correcting problems
                                Debian menu


Searching for packages: debtags



      apt-cache search: works, but limited.
      too dicult search = brain goes banana




                             Wouter Verhelst    Debian Secrets
Changing system behaviour
                                    Searching
                                                debtags
                  Fooling the package system
                                                grep-available
         Anticipating and correcting problems
                                Debian menu


Searching for packages: debtags



      apt-cache search: works, but limited.
      too dicult search = brain goes banana
      debtags: more ne-grained searching




                             Wouter Verhelst    Debian Secrets
Changing system behaviour
                                    Searching
                                                debtags
                  Fooling the package system
                                                grep-available
         Anticipating and correcting problems
                                Debian menu


Searching for packages: debtags



      apt-cache search: works, but limited.
      too dicult search = brain goes banana
      debtags: more ne-grained searching
      GoPlay! (or GoAdmin! :)



                             Wouter Verhelst    Debian Secrets
Changing system behaviour
                                   Searching
                                               debtags
                 Fooling the package system
                                               grep-available
        Anticipating and correcting problems
                               Debian menu


Searching for packages: debtags



      apt-cache search: works, but limited.
      too dicult search = brain goes banana
      debtags: more ne-grained searching
      GoPlay! (or GoAdmin! :)
  package: debtags, goplay
  more info: http://debtags.alioth.debian.org/


                            Wouter Verhelst    Debian Secrets
Changing system behaviour
                                    Searching
                                                debtags
                  Fooling the package system
                                                grep-available
         Anticipating and correcting problems
                                Debian menu


Searching for packages: grep-available

      you know some things about the package




                             Wouter Verhelst    Debian Secrets
Changing system behaviour
                                    Searching
                                                debtags
                  Fooling the package system
                                                grep-available
         Anticipating and correcting problems
                                Debian menu


Searching for packages: grep-available

      you know some things about the package
      searching for packages by control elds




                             Wouter Verhelst    Debian Secrets
Changing system behaviour
                                    Searching
                                                debtags
                  Fooling the package system
                                                grep-available
         Anticipating and correcting problems
                                Debian menu


Searching for packages: grep-available

      you know some things about the package
      searching for packages by control elds
      grep-available -FMaintainer 'wouter@debian.org'
      -sPackage




                             Wouter Verhelst    Debian Secrets
Changing system behaviour
                                    Searching
                                                debtags
                  Fooling the package system
                                                grep-available
         Anticipating and correcting problems
                                Debian menu


Searching for packages: grep-available

      you know some things about the package
      searching for packages by control elds
      grep-available -FMaintainer 'wouter@debian.org'
      -sPackage
      grep-available -FSource 'linux-2.6' -a -FPackage
      'image' -sPackage




                             Wouter Verhelst    Debian Secrets
Changing system behaviour
                                    Searching
                                                debtags
                  Fooling the package system
                                                grep-available
         Anticipating and correcting problems
                                Debian menu


Searching for packages: grep-available

      you know some things about the package
      searching for packages by control elds
      grep-available -FMaintainer 'wouter@debian.org'
      -sPackage
      grep-available -FSource 'linux-2.6' -a -FPackage
      'image' -sPackage
      grep-available -FSource 'linux-2.6' -a -FPackage
      'image' -sPackage -sVersion




                             Wouter Verhelst    Debian Secrets
Changing system behaviour
                                    Searching
                                                debtags
                  Fooling the package system
                                                grep-available
         Anticipating and correcting problems
                                Debian menu


Searching for packages: grep-available

      you know some things about the package
      searching for packages by control elds
      grep-available -FMaintainer 'wouter@debian.org'
      -sPackage
      grep-available -FSource 'linux-2.6' -a -FPackage
      'image' -sPackage
      grep-available -FSource 'linux-2.6' -a -FPackage
      'image' -sPackage -sVersion
  package: dctrl-tools
  more info: man grep-available
                             Wouter Verhelst    Debian Secrets
Changing system behaviour
                                    Searching   dpkg-divert
                  Fooling the package system    dpkg-repack
         Anticipating and correcting problems   equivs
                                Debian menu


dpkg-divert: move les aside


      Install nVidia binary module from nvidia.com




                             Wouter Verhelst    Debian Secrets
Changing system behaviour
                                    Searching   dpkg-divert
                  Fooling the package system    dpkg-repack
         Anticipating and correcting problems   equivs
                                Debian menu


dpkg-divert: move les aside


      Install nVidia binary module from nvidia.com
      nVidia wants to install /usr/lib/libGL.so




                             Wouter Verhelst    Debian Secrets
Changing system behaviour
                                    Searching   dpkg-divert
                  Fooling the package system    dpkg-repack
         Anticipating and correcting problems   equivs
                                Debian menu


dpkg-divert: move les aside


      Install nVidia binary module from nvidia.com
      nVidia wants to install /usr/lib/libGL.so
      apt-get upgrade...




                             Wouter Verhelst    Debian Secrets
Changing system behaviour
                                    Searching   dpkg-divert
                  Fooling the package system    dpkg-repack
         Anticipating and correcting problems   equivs
                                Debian menu


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




                             Wouter Verhelst    Debian Secrets
Changing system behaviour
                                    Searching   dpkg-divert
                  Fooling the package system    dpkg-repack
         Anticipating and correcting problems   equivs
                                Debian menu


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


                             Wouter Verhelst    Debian Secrets
Changing system behaviour
                                    Searching   dpkg-divert
                  Fooling the package system    dpkg-repack
         Anticipating and correcting problems   equivs
                                Debian menu


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 conguration les

                             Wouter Verhelst    Debian Secrets
Changing system behaviour
                                    Searching   dpkg-divert
                  Fooling the package system    dpkg-repack
         Anticipating and correcting problems   equivs
                                Debian menu


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 conguration les
  more info: man dpkg-divert

                             Wouter Verhelst    Debian Secrets
Changing system behaviour
                                    Searching   dpkg-divert
                  Fooling the package system    dpkg-repack
         Anticipating and correcting problems   equivs
                                Debian menu


dpkg-repack: Re-create a package le from an installed
package


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




                             Wouter Verhelst    Debian Secrets
Changing system behaviour
                                   Searching   dpkg-divert
                 Fooling the package system    dpkg-repack
        Anticipating and correcting problems   equivs
                               Debian menu


dpkg-repack: Re-create a package le from an installed
package


      Install great-game-nonfree from game-writer-company
      game-writer-company goes bankrupt, and your CD-ROM is
      lost




                            Wouter Verhelst    Debian Secrets
Changing system behaviour
                                    Searching   dpkg-divert
                  Fooling the package system    dpkg-repack
         Anticipating and correcting problems   equivs
                                Debian menu


dpkg-repack: Re-create a package le from an installed
package


      Install great-game-nonfree from game-writer-company
      game-writer-company goes bankrupt, and your CD-ROM is
      lost
      Buy new computer, want to play great-game-nonfree there too



                             Wouter Verhelst    Debian Secrets
Changing system behaviour
                                    Searching   dpkg-divert
                  Fooling the package system    dpkg-repack
         Anticipating and correcting problems   equivs
                                Debian menu


dpkg-repack: Re-create a package le from an installed
package


      Install great-game-nonfree from game-writer-company
      game-writer-company goes bankrupt, and your CD-ROM is
      lost
      Buy new computer, want to play great-game-nonfree there too
      Use dpkg-repack to create new package to install on new
      computer


                             Wouter Verhelst    Debian Secrets
Changing system behaviour
                                    Searching   dpkg-divert
                  Fooling the package system    dpkg-repack
         Anticipating and correcting problems   equivs
                                Debian menu


dpkg-repack: Re-create a package le from an installed
package


      Install great-game-nonfree from game-writer-company
      game-writer-company goes bankrupt, and your CD-ROM is
      lost
      Buy new computer, want to play great-game-nonfree there too
      Use dpkg-repack to create new package to install on new
      computer
  package: dpkg-repack
  more info: man dpkg-repack
                             Wouter Verhelst    Debian Secrets
Changing system behaviour
                                   Searching   dpkg-divert
                 Fooling the package system    dpkg-repack
        Anticipating and correcting problems   equivs
                               Debian menu


Equivs: NIH



     Install self-written not-invented-here MTA




                            Wouter Verhelst    Debian Secrets
Changing system behaviour
                                   Searching   dpkg-divert
                 Fooling the package system    dpkg-repack
        Anticipating and correcting problems   equivs
                               Debian menu


Equivs: NIH



     Install self-written not-invented-here MTA
     apt-get install cron pulls in exim4




                            Wouter Verhelst    Debian Secrets
Changing system behaviour
                                   Searching   dpkg-divert
                 Fooling the package system    dpkg-repack
        Anticipating and correcting problems   equivs
                               Debian menu


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




                            Wouter Verhelst    Debian Secrets
Changing system behaviour
                                    Searching   dpkg-divert
                  Fooling the package system    dpkg-repack
         Anticipating and correcting problems   equivs
                                Debian menu


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: equivs
  more info: man equivs-build and man equivs-control, also see
  /usr/share/doc/equivs




                             Wouter Verhelst    Debian Secrets
Changing system behaviour
                                    Searching
                                                Finding problems before installing
                  Fooling the package system
                                                Keeping your system tidy
         Anticipating and correcting problems
                                Debian menu


apt-listbugs/apt-listchanges: reviewing before installing


      install very-buggy-package from unstable




                             Wouter Verhelst    Debian Secrets
Changing system behaviour
                                    Searching
                                                Finding problems before installing
                  Fooling the package system
                                                Keeping your system tidy
         Anticipating and correcting problems
                                Debian menu


apt-listbugs/apt-listchanges: reviewing before installing


      install very-buggy-package from unstable
      apt-listbugs nds and lists release-critical bugs




                             Wouter Verhelst    Debian Secrets
Changing system behaviour
                                    Searching
                                                Finding problems before installing
                  Fooling the package system
                                                Keeping your system tidy
         Anticipating and correcting problems
                                Debian menu


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




                             Wouter Verhelst    Debian Secrets
Changing system behaviour
                                    Searching
                                                Finding problems before installing
                  Fooling the package system
                                                Keeping your system tidy
         Anticipating and correcting problems
                                Debian menu


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




                             Wouter Verhelst    Debian Secrets
Changing system behaviour
                                    Searching
                                                Finding problems before installing
                  Fooling the package system
                                                Keeping your system tidy
         Anticipating and correcting problems
                                Debian menu


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


                             Wouter Verhelst    Debian Secrets
Changing system behaviour
                                    Searching
                                                Finding problems before installing
                  Fooling the package system
                                                Keeping your system tidy
         Anticipating and correcting problems
                                Debian menu


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.Debian
      items
      User can choose to decline installing


                             Wouter Verhelst    Debian Secrets
Changing system behaviour
                                    Searching
                                                Finding problems before installing
                  Fooling the package system
                                                Keeping your system tidy
         Anticipating and correcting problems
                                Debian menu


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.Debian
      items
      User can choose to decline installing
  packages: apt-listbugs, apt-listchanges

                             Wouter Verhelst    Debian Secrets
Changing system behaviour
                                   Searching
                                               Finding problems before installing
                 Fooling the package system
                                               Keeping your system tidy
        Anticipating and correcting problems
                               Debian menu


debfoster, deborphan, aptitude: nding unused packages

      apt-get install warzone2100




                            Wouter Verhelst    Debian Secrets
Changing system behaviour
                                    Searching
                                                Finding problems before installing
                  Fooling the package system
                                                Keeping your system tidy
         Anticipating and correcting problems
                                Debian menu


debfoster, deborphan, aptitude: nding unused packages

      apt-get install warzone2100
      Pulls in several libraries




                             Wouter Verhelst    Debian Secrets
Changing system behaviour
                                   Searching
                                               Finding problems before installing
                 Fooling the package system
                                               Keeping your system tidy
        Anticipating and correcting problems
                               Debian menu


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




                            Wouter Verhelst    Debian Secrets
Changing system behaviour
                                   Searching
                                               Finding problems before installing
                 Fooling the package system
                                               Keeping your system tidy
        Anticipating and correcting problems
                               Debian menu


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?




                            Wouter Verhelst    Debian Secrets
Changing system behaviour
                                    Searching
                                                Finding problems before installing
                  Fooling the package system
                                                Keeping your system tidy
         Anticipating and correcting problems
                                Debian menu


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 manually
      or as a dependency


                             Wouter Verhelst    Debian Secrets
Changing system behaviour
                                    Searching
                                                Finding problems before installing
                  Fooling the package system
                                                Keeping your system tidy
         Anticipating and correcting problems
                                Debian menu


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 manually
      or as a dependency
      deborphan: nd unused libraries  needs to guess, may be
      wrong.

                             Wouter Verhelst    Debian Secrets
Changing system behaviour
                                    Searching
                                                Finding problems before installing
                  Fooling the package system
                                                Keeping your system tidy
         Anticipating and correcting problems
                                Debian menu


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 manually
      or as a dependency
      deborphan: nd unused libraries  needs to guess, may be
      wrong.
  packages: debfoster, deborphan
                             Wouter Verhelst    Debian Secrets
Changing system behaviour
                                   Searching
                 Fooling the package system
        Anticipating and correcting problems
                               Debian menu


Changing the Debian menu



     Standard menu in most window managers (not all desktop
     environments)




                            Wouter Verhelst    Debian Secrets
Changing system behaviour
                                   Searching
                 Fooling the package system
        Anticipating and correcting problems
                               Debian menu


Changing the Debian menu



     Standard menu in most window managers (not all desktop
     environments)
     Modify through /etc/menu, /.menu




                            Wouter Verhelst    Debian Secrets
Changing system behaviour
                                    Searching
                  Fooling the package system
         Anticipating and correcting problems
                                Debian menu


Changing the Debian menu



      Standard menu in most window managers (not all desktop
      environments)
      Modify through /etc/menu, /.menu
  package: menu
  more info: /usr/share/doc/menu/html, chapter 3 (syntaxis),
  chapter 6 (how to override)


                             Wouter Verhelst    Debian Secrets

More Related Content

What's hot

2.4.1 use debian package management v2
2.4.1 use debian package management v22.4.1 use debian package management v2
2.4.1 use debian package management v2Acácio Oliveira
 
Embedded Database Technology | Interbase From Embarcadero Technologies
Embedded Database Technology | Interbase From Embarcadero TechnologiesEmbedded Database Technology | Interbase From Embarcadero Technologies
Embedded Database Technology | Interbase From Embarcadero TechnologiesMichael Findling
 
2013 london advanced-replication
2013 london advanced-replication2013 london advanced-replication
2013 london advanced-replicationMarc Schwering
 
Informix User Group France - 30/11/2010 - Fonctionalités IDS 11.7
Informix User Group France - 30/11/2010 - Fonctionalités IDS 11.7Informix User Group France - 30/11/2010 - Fonctionalités IDS 11.7
Informix User Group France - 30/11/2010 - Fonctionalités IDS 11.7Nicolas Desachy
 
Apachecon Euro 2012: Elastic, Multi-tenant Hadoop on Demand
Apachecon Euro 2012: Elastic, Multi-tenant Hadoop on DemandApachecon Euro 2012: Elastic, Multi-tenant Hadoop on Demand
Apachecon Euro 2012: Elastic, Multi-tenant Hadoop on DemandRichard McDougall
 
2.5 use rpm and yum package management
2.5 use rpm and yum package management2.5 use rpm and yum package management
2.5 use rpm and yum package managementAcácio Oliveira
 
101 2.4 use debian package management
101 2.4 use debian package management101 2.4 use debian package management
101 2.4 use debian package managementAcácio Oliveira
 
101 2.4b use debian package management v2
101 2.4b use debian package management v2101 2.4b use debian package management v2
101 2.4b use debian package management v2Acácio Oliveira
 

What's hot (10)

2.4.1 use debian package management v2
2.4.1 use debian package management v22.4.1 use debian package management v2
2.4.1 use debian package management v2
 
Embedded Database Technology | Interbase From Embarcadero Technologies
Embedded Database Technology | Interbase From Embarcadero TechnologiesEmbedded Database Technology | Interbase From Embarcadero Technologies
Embedded Database Technology | Interbase From Embarcadero Technologies
 
2013 london advanced-replication
2013 london advanced-replication2013 london advanced-replication
2013 london advanced-replication
 
Informix User Group France - 30/11/2010 - Fonctionalités IDS 11.7
Informix User Group France - 30/11/2010 - Fonctionalités IDS 11.7Informix User Group France - 30/11/2010 - Fonctionalités IDS 11.7
Informix User Group France - 30/11/2010 - Fonctionalités IDS 11.7
 
Apachecon Euro 2012: Elastic, Multi-tenant Hadoop on Demand
Apachecon Euro 2012: Elastic, Multi-tenant Hadoop on DemandApachecon Euro 2012: Elastic, Multi-tenant Hadoop on Demand
Apachecon Euro 2012: Elastic, Multi-tenant Hadoop on Demand
 
2.5 use rpm and yum package management
2.5 use rpm and yum package management2.5 use rpm and yum package management
2.5 use rpm and yum package management
 
101 2.4 use debian package management
101 2.4 use debian package management101 2.4 use debian package management
101 2.4 use debian package management
 
101 2.4b use debian package management v2
101 2.4b use debian package management v2101 2.4b use debian package management v2
101 2.4b use debian package management v2
 
Hadoop Introduction
Hadoop IntroductionHadoop Introduction
Hadoop Introduction
 
Debian Packaging
Debian PackagingDebian Packaging
Debian Packaging
 

Similar to Debian Secrets Loadays

101 2.4 use debian package management
101 2.4 use debian package management101 2.4 use debian package management
101 2.4 use debian package managementAcácio Oliveira
 
Debian Packaging tutorial
Debian Packaging tutorialDebian Packaging tutorial
Debian Packaging tutorialnussbauml
 
The Common Debian Build System (CDBS)
The Common Debian Build System (CDBS)The Common Debian Build System (CDBS)
The Common Debian Build System (CDBS)Peter Eisentraut
 
How to make debian package from scratch (linux)
How to make debian package from scratch (linux)How to make debian package from scratch (linux)
How to make debian package from scratch (linux)Thierry Gayet
 
Linux apache server
Linux apache serverLinux apache server
Linux apache serverKhoa Quach
 
Advanced Usage of the Debian Packaging System
Advanced Usage of the Debian Packaging SystemAdvanced Usage of the Debian Packaging System
Advanced Usage of the Debian Packaging SystemAdam Gonnerman
 
Linux Troubleshooting
Linux TroubleshootingLinux Troubleshooting
Linux TroubleshootingKeith Wright
 

Similar to Debian Secrets Loadays (9)

101 2.4 use debian package management
101 2.4 use debian package management101 2.4 use debian package management
101 2.4 use debian package management
 
Debian Packaging tutorial
Debian Packaging tutorialDebian Packaging tutorial
Debian Packaging tutorial
 
The Common Debian Build System (CDBS)
The Common Debian Build System (CDBS)The Common Debian Build System (CDBS)
The Common Debian Build System (CDBS)
 
How to make debian package from scratch (linux)
How to make debian package from scratch (linux)How to make debian package from scratch (linux)
How to make debian package from scratch (linux)
 
packaging
packagingpackaging
packaging
 
Linux apache server
Linux apache serverLinux apache server
Linux apache server
 
Advanced Usage of the Debian Packaging System
Advanced Usage of the Debian Packaging SystemAdvanced Usage of the Debian Packaging System
Advanced Usage of the Debian Packaging System
 
Linuxconcepts
LinuxconceptsLinuxconcepts
Linuxconcepts
 
Linux Troubleshooting
Linux TroubleshootingLinux Troubleshooting
Linux Troubleshooting
 

More from loadays

Technical Presentation Zcp
Technical Presentation ZcpTechnical Presentation Zcp
Technical Presentation Zcploadays
 
Puppet managed loadays
Puppet managed loadaysPuppet managed loadays
Puppet managed loadaysloadays
 
The implementation of ldrp (with rear)
The implementation of ldrp (with rear)The implementation of ldrp (with rear)
The implementation of ldrp (with rear)loadays
 
Load2010 Se Linux Presentation
Load2010 Se Linux PresentationLoad2010 Se Linux Presentation
Load2010 Se Linux Presentationloadays
 
Presentation Gosa Loaddays2010
Presentation Gosa Loaddays2010Presentation Gosa Loaddays2010
Presentation Gosa Loaddays2010loadays
 
Load2010 Kvm Tutorial
Load2010 Kvm TutorialLoad2010 Kvm Tutorial
Load2010 Kvm Tutorialloadays
 
Load2010 Enterprise Linux Open Space
Load2010 Enterprise Linux Open SpaceLoad2010 Enterprise Linux Open Space
Load2010 Enterprise Linux Open Spaceloadays
 

More from loadays (7)

Technical Presentation Zcp
Technical Presentation ZcpTechnical Presentation Zcp
Technical Presentation Zcp
 
Puppet managed loadays
Puppet managed loadaysPuppet managed loadays
Puppet managed loadays
 
The implementation of ldrp (with rear)
The implementation of ldrp (with rear)The implementation of ldrp (with rear)
The implementation of ldrp (with rear)
 
Load2010 Se Linux Presentation
Load2010 Se Linux PresentationLoad2010 Se Linux Presentation
Load2010 Se Linux Presentation
 
Presentation Gosa Loaddays2010
Presentation Gosa Loaddays2010Presentation Gosa Loaddays2010
Presentation Gosa Loaddays2010
 
Load2010 Kvm Tutorial
Load2010 Kvm TutorialLoad2010 Kvm Tutorial
Load2010 Kvm Tutorial
 
Load2010 Enterprise Linux Open Space
Load2010 Enterprise Linux Open SpaceLoad2010 Enterprise Linux Open Space
Load2010 Enterprise Linux Open Space
 

Recently uploaded

2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 

Recently uploaded (20)

2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 

Debian Secrets Loadays

  • 1. Changing system behaviour Searching Fooling the package system Anticipating and correcting problems Debian menu Debian Secrets Power tools for Power users Wouter Verhelst FOSDEM 2010/Loadays 2010 Wouter Verhelst Debian Secrets
  • 2. Changing system behaviour Searching update-alternatives Fooling the package system dpkg-statoverride Anticipating and correcting problems Debian menu update-alternatives multiple packages providing a particular command Wouter Verhelst Debian Secrets
  • 3. Changing system behaviour Searching update-alternatives Fooling the package system dpkg-statoverride Anticipating and correcting problems Debian menu update-alternatives multiple packages providing a particular command update-alternatives −−config x-terminal-emulator Wouter Verhelst Debian Secrets
  • 4. Changing system behaviour Searching update-alternatives Fooling the package system dpkg-statoverride Anticipating and correcting problems Debian menu update-alternatives multiple packages providing a particular command update-alternatives −−config x-terminal-emulator more info: man update-alternatives Wouter Verhelst Debian Secrets
  • 5. Changing system behaviour Searching update-alternatives Fooling the package system dpkg-statoverride Anticipating and correcting problems Debian menu dpkg-statoverride Limit access to wodim to a group of users Wouter Verhelst Debian Secrets
  • 6. Changing system behaviour Searching update-alternatives Fooling the package system dpkg-statoverride Anticipating and correcting problems Debian menu dpkg-statoverride Limit access to wodim to a group of users −rwxr−x− − − 1 root cdwriters 401624 May 25 20:12 /usr/bin/wodim Wouter Verhelst Debian Secrets
  • 7. Changing system behaviour Searching update-alternatives Fooling the package system dpkg-statoverride Anticipating and correcting problems Debian menu 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? Wouter Verhelst Debian Secrets
  • 8. Changing system behaviour Searching update-alternatives Fooling the package system dpkg-statoverride Anticipating and correcting problems Debian menu 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 Wouter Verhelst Debian Secrets
  • 9. Changing system behaviour Searching update-alternatives Fooling the package system dpkg-statoverride Anticipating and correcting problems Debian menu 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
  • 10. Changing system behaviour Searching debtags Fooling the package system grep-available Anticipating and correcting problems Debian menu Searching for packages: debtags apt-cache search: works, but limited. Wouter Verhelst Debian Secrets
  • 11. Changing system behaviour Searching debtags Fooling the package system grep-available Anticipating and correcting problems Debian menu Searching for packages: debtags apt-cache search: works, but limited. too dicult search = brain goes banana Wouter Verhelst Debian Secrets
  • 12. Changing system behaviour Searching debtags Fooling the package system grep-available Anticipating and correcting problems Debian menu Searching for packages: debtags apt-cache search: works, but limited. too dicult search = brain goes banana debtags: more ne-grained searching Wouter Verhelst Debian Secrets
  • 13. Changing system behaviour Searching debtags Fooling the package system grep-available Anticipating and correcting problems Debian menu Searching for packages: debtags apt-cache search: works, but limited. too dicult search = brain goes banana debtags: more ne-grained searching GoPlay! (or GoAdmin! :) Wouter Verhelst Debian Secrets
  • 14. Changing system behaviour Searching debtags Fooling the package system grep-available Anticipating and correcting problems Debian menu Searching for packages: debtags apt-cache search: works, but limited. too dicult search = brain goes banana debtags: more ne-grained searching GoPlay! (or GoAdmin! :) package: debtags, goplay more info: http://debtags.alioth.debian.org/ Wouter Verhelst Debian Secrets
  • 15. Changing system behaviour Searching debtags Fooling the package system grep-available Anticipating and correcting problems Debian menu Searching for packages: grep-available you know some things about the package Wouter Verhelst Debian Secrets
  • 16. Changing system behaviour Searching debtags Fooling the package system grep-available Anticipating and correcting problems Debian menu Searching for packages: grep-available you know some things about the package searching for packages by control elds Wouter Verhelst Debian Secrets
  • 17. Changing system behaviour Searching debtags Fooling the package system grep-available Anticipating and correcting problems Debian menu Searching for packages: grep-available you know some things about the package searching for packages by control elds grep-available -FMaintainer 'wouter@debian.org' -sPackage Wouter Verhelst Debian Secrets
  • 18. Changing system behaviour Searching debtags Fooling the package system grep-available Anticipating and correcting problems Debian menu Searching for packages: grep-available you know some things about the package searching for packages by control elds grep-available -FMaintainer 'wouter@debian.org' -sPackage grep-available -FSource 'linux-2.6' -a -FPackage 'image' -sPackage Wouter Verhelst Debian Secrets
  • 19. Changing system behaviour Searching debtags Fooling the package system grep-available Anticipating and correcting problems Debian menu Searching for packages: grep-available you know some things about the package searching for packages by control elds grep-available -FMaintainer 'wouter@debian.org' -sPackage grep-available -FSource 'linux-2.6' -a -FPackage 'image' -sPackage grep-available -FSource 'linux-2.6' -a -FPackage 'image' -sPackage -sVersion Wouter Verhelst Debian Secrets
  • 20. Changing system behaviour Searching debtags Fooling the package system grep-available Anticipating and correcting problems Debian menu Searching for packages: grep-available you know some things about the package searching for packages by control elds grep-available -FMaintainer 'wouter@debian.org' -sPackage grep-available -FSource 'linux-2.6' -a -FPackage 'image' -sPackage grep-available -FSource 'linux-2.6' -a -FPackage 'image' -sPackage -sVersion package: dctrl-tools more info: man grep-available Wouter Verhelst Debian Secrets
  • 21. Changing system behaviour Searching dpkg-divert Fooling the package system dpkg-repack Anticipating and correcting problems equivs Debian menu dpkg-divert: move les aside Install nVidia binary module from nvidia.com Wouter Verhelst Debian Secrets
  • 22. Changing system behaviour Searching dpkg-divert Fooling the package system dpkg-repack Anticipating and correcting problems equivs Debian menu dpkg-divert: move les aside Install nVidia binary module from nvidia.com nVidia wants to install /usr/lib/libGL.so Wouter Verhelst Debian Secrets
  • 23. Changing system behaviour Searching dpkg-divert Fooling the package system dpkg-repack Anticipating and correcting problems equivs Debian menu dpkg-divert: move les aside Install nVidia binary module from nvidia.com nVidia wants to install /usr/lib/libGL.so apt-get upgrade... Wouter Verhelst Debian Secrets
  • 24. Changing system behaviour Searching dpkg-divert Fooling the package system dpkg-repack Anticipating and correcting problems equivs Debian menu 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 Wouter Verhelst Debian Secrets
  • 25. Changing system behaviour Searching dpkg-divert Fooling the package system dpkg-repack Anticipating and correcting problems equivs Debian menu 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 Wouter Verhelst Debian Secrets
  • 26. Changing system behaviour Searching dpkg-divert Fooling the package system dpkg-repack Anticipating and correcting problems equivs Debian menu 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 conguration les Wouter Verhelst Debian Secrets
  • 27. Changing system behaviour Searching dpkg-divert Fooling the package system dpkg-repack Anticipating and correcting problems equivs Debian menu 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 conguration les more info: man dpkg-divert Wouter Verhelst Debian Secrets
  • 28. Changing system behaviour Searching dpkg-divert Fooling the package system dpkg-repack Anticipating and correcting problems equivs Debian menu dpkg-repack: Re-create a package le from an installed package Install great-game-nonfree from game-writer-company Wouter Verhelst Debian Secrets
  • 29. Changing system behaviour Searching dpkg-divert Fooling the package system dpkg-repack Anticipating and correcting problems equivs Debian menu dpkg-repack: Re-create a package le from an installed package Install great-game-nonfree from game-writer-company game-writer-company goes bankrupt, and your CD-ROM is lost Wouter Verhelst Debian Secrets
  • 30. Changing system behaviour Searching dpkg-divert Fooling the package system dpkg-repack Anticipating and correcting problems equivs Debian menu dpkg-repack: Re-create a package le from an installed package Install great-game-nonfree from game-writer-company game-writer-company goes bankrupt, and your CD-ROM is lost Buy new computer, want to play great-game-nonfree there too Wouter Verhelst Debian Secrets
  • 31. Changing system behaviour Searching dpkg-divert Fooling the package system dpkg-repack Anticipating and correcting problems equivs Debian menu dpkg-repack: Re-create a package le from an installed package Install great-game-nonfree from game-writer-company game-writer-company goes bankrupt, and your CD-ROM is lost Buy new computer, want to play great-game-nonfree there too Use dpkg-repack to create new package to install on new computer Wouter Verhelst Debian Secrets
  • 32. Changing system behaviour Searching dpkg-divert Fooling the package system dpkg-repack Anticipating and correcting problems equivs Debian menu dpkg-repack: Re-create a package le from an installed package Install great-game-nonfree from game-writer-company game-writer-company goes bankrupt, and your CD-ROM is lost Buy new computer, want to play great-game-nonfree there too Use dpkg-repack to create new package to install on new computer package: dpkg-repack more info: man dpkg-repack Wouter Verhelst Debian Secrets
  • 33. Changing system behaviour Searching dpkg-divert Fooling the package system dpkg-repack Anticipating and correcting problems equivs Debian menu Equivs: NIH Install self-written not-invented-here MTA Wouter Verhelst Debian Secrets
  • 34. Changing system behaviour Searching dpkg-divert Fooling the package system dpkg-repack Anticipating and correcting problems equivs Debian menu Equivs: NIH Install self-written not-invented-here MTA apt-get install cron pulls in exim4 Wouter Verhelst Debian Secrets
  • 35. Changing system behaviour Searching dpkg-divert Fooling the package system dpkg-repack Anticipating and correcting problems equivs Debian menu 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 Wouter Verhelst Debian Secrets
  • 36. Changing system behaviour Searching dpkg-divert Fooling the package system dpkg-repack Anticipating and correcting problems equivs Debian menu 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: equivs more info: man equivs-build and man equivs-control, also see /usr/share/doc/equivs Wouter Verhelst Debian Secrets
  • 37. Changing system behaviour Searching Finding problems before installing Fooling the package system Keeping your system tidy Anticipating and correcting problems Debian menu apt-listbugs/apt-listchanges: reviewing before installing install very-buggy-package from unstable Wouter Verhelst Debian Secrets
  • 38. Changing system behaviour Searching Finding problems before installing Fooling the package system Keeping your system tidy Anticipating and correcting problems Debian menu apt-listbugs/apt-listchanges: reviewing before installing install very-buggy-package from unstable apt-listbugs nds and lists release-critical bugs Wouter Verhelst Debian Secrets
  • 39. Changing system behaviour Searching Finding problems before installing Fooling the package system Keeping your system tidy Anticipating and correcting problems Debian menu 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 Wouter Verhelst Debian Secrets
  • 40. Changing system behaviour Searching Finding problems before installing Fooling the package system Keeping your system tidy Anticipating and correcting problems Debian menu 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 Wouter Verhelst Debian Secrets
  • 41. Changing system behaviour Searching Finding problems before installing Fooling the package system Keeping your system tidy Anticipating and correcting problems Debian menu 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.Debian items Wouter Verhelst Debian Secrets
  • 42. Changing system behaviour Searching Finding problems before installing Fooling the package system Keeping your system tidy Anticipating and correcting problems Debian menu 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.Debian items User can choose to decline installing Wouter Verhelst Debian Secrets
  • 43. Changing system behaviour Searching Finding problems before installing Fooling the package system Keeping your system tidy Anticipating and correcting problems Debian menu 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.Debian items User can choose to decline installing packages: apt-listbugs, apt-listchanges Wouter Verhelst Debian Secrets
  • 44. Changing system behaviour Searching Finding problems before installing Fooling the package system Keeping your system tidy Anticipating and correcting problems Debian menu debfoster, deborphan, aptitude: nding unused packages apt-get install warzone2100 Wouter Verhelst Debian Secrets
  • 45. Changing system behaviour Searching Finding problems before installing Fooling the package system Keeping your system tidy Anticipating and correcting problems Debian menu debfoster, deborphan, aptitude: nding unused packages apt-get install warzone2100 Pulls in several libraries Wouter Verhelst Debian Secrets
  • 46. Changing system behaviour Searching Finding problems before installing Fooling the package system Keeping your system tidy Anticipating and correcting problems Debian menu 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 Wouter Verhelst Debian Secrets
  • 47. Changing system behaviour Searching Finding problems before installing Fooling the package system Keeping your system tidy Anticipating and correcting problems Debian menu 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? Wouter Verhelst Debian Secrets
  • 48. Changing system behaviour Searching Finding problems before installing Fooling the package system Keeping your system tidy Anticipating and correcting problems Debian menu 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 manually or as a dependency Wouter Verhelst Debian Secrets
  • 49. Changing system behaviour Searching Finding problems before installing Fooling the package system Keeping your system tidy Anticipating and correcting problems Debian menu 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 manually or as a dependency deborphan: nd unused libraries needs to guess, may be wrong. Wouter Verhelst Debian Secrets
  • 50. Changing system behaviour Searching Finding problems before installing Fooling the package system Keeping your system tidy Anticipating and correcting problems Debian menu 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 manually or as a dependency deborphan: nd unused libraries needs to guess, may be wrong. packages: debfoster, deborphan Wouter Verhelst Debian Secrets
  • 51. Changing system behaviour Searching Fooling the package system Anticipating and correcting problems Debian menu Changing the Debian menu Standard menu in most window managers (not all desktop environments) Wouter Verhelst Debian Secrets
  • 52. Changing system behaviour Searching Fooling the package system Anticipating and correcting problems Debian menu Changing the Debian menu Standard menu in most window managers (not all desktop environments) Modify through /etc/menu, /.menu Wouter Verhelst Debian Secrets
  • 53. Changing system behaviour Searching Fooling the package system Anticipating and correcting problems Debian menu Changing the Debian menu Standard menu in most window managers (not all desktop environments) Modify through /etc/menu, /.menu package: menu more info: /usr/share/doc/menu/html, chapter 3 (syntaxis), chapter 6 (how to override) Wouter Verhelst Debian Secrets