Announcement

Collapse
No announcement yet.

apt-get question

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    apt-get question

    You know how sometimes when you go to apt-get something in konsole, you get a list of things such as: The following will be installed, suggested to be installed, and recommended. Is there any code to put in so that the suggested and recommended will be installed as well?

    Just curious.

    Thanks!

    #2
    Re: apt-get question

    If you are referring to the apt-get install package command in the console, you just add the other packages at the same time, separated by a space. So, say you are simulating the installation package widget (sudo apt-get install --simulate widget) and you note that package whatsit and thingamajig are suggested and package dodad is recommended. You would install all, from a console, with the command:
    Code:
    sudo apt-get install widget whatsit thingamajig dodad
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Re: apt-get question

      okay cool, thanks!

      Comment


        #4
        Re: apt-get question

        Apt behaviour

        man apt.conf
        NAME
        apt.conf - Configuration file for APT

        DESCRIPTION
        apt.conf is the main configuration file for the APT suite of tools, all tools make use of the configuration file and a common command line parser to provide a uniform environment.
        ...
        Each line is of the form APT::Get::Assume-Yes "true"; The trailing semicolon is required and the quotes are optional.
        ...

        => alt + f2 and kdesudo kate /etc/apt/apt.conf
        add
        APT::Install-Recommends "true";
        APT::Install-Suggests "true";
        => apt will treat recommendations and suggestions as dependencies.

        Note
        This will install lot of packages


        Example:
        Code:
        sudo apt-get -s install qcad
        =>
        Will install (simulate) qcad
        Suggestsartlibrary
        Recommends:qcad-doc

        with apt.conf
        APT::Install-Recommends "true";
        APT::Install-Suggests "true";
        => will install: partlibrary qcad qcad-doc qt3-assistant qt3-doc


        Aptitude package manager

        man aptitude
        -r, --with-recommends
        Treat recommendations as dependencies when installing new packages (this overrides settings in /etc/apt/apt.conf and ~/.aptitude/config).

        More

        More of the package managers: FAQ: Package Managers


        There was a plan for Hardy: HardyRecommendsHandling
        Summary

        Debian switched to installing recommends by default (the debian policy says they should be installed in all but the most unusual situations). We want to do the same for hardy.


        Release Note

        All package tools like apt, aptitude, synaptic will install packages marked as Recommends now (in addition to the ones marked as Depends).

        This gives the user a more flexible package managmanet experience.
        More of the Hardy: Hardy Release Schedule, Plans, Artwork, Release Notes, Screenshots and Upgrading
        Before you edit, BACKUP !

        Why there are dead links ?
        1. Thread: Please explain how to access old kubuntu forum posts
        2. Thread: Lost Information

        Comment


          #5
          Re: apt-get question

          I try to run Adept but am given the following message:-

          Another process is using the packaging system database (probably some other Adept application or apt-get or aptitude).
          Would you like to attempt to resolve this problem? No will enter read-only mode and Cancel to quit and resolve this issue yourself.

          I cannot resolve this issue by either clicking YES or NO.
          I have only taken the updates which were available after installation.
          Please Help.

          Comment


            #6
            Re: apt-get question

            Assuming you installed Gutsy:

            For Gutsy Installations:

            Open Adept Manager (K Menu | System | Adept Manger) and click on Adept | Manage Repositories. On the first tab, check all items (you don't need the last item checked unless you intend to download source files for compiling). On the Third-Party Software tab uncheck/delete the cdrom repository entry. Close the window. If Adept doesn't automatically fetch updates, click on Fetch Updates. You will now have access to the thousands of available packages. If you still have problems, open a console and type:
            Code:
            sudo dpkg --configure -a
            Windows no longer obstructs my view.
            Using Kubuntu Linux since March 23, 2007.
            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

            Comment

            Working...
            X