LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Aptitude: pB, pi... (https://www.linuxquestions.org/questions/debian-26/aptitude-pb-pi-916667/)

Amdx2_x64 12-01-2011 09:32 PM

Aptitude: pB, pi...
 
I know what "I" means and "P". what I am wondering is this. I uninstalled (purged) some programs and a vserver kernel and related packages, etc. All this has been uninstalled but I see next to them a pi or pB. What exactly does this mean?

jdkaye 12-02-2011 12:25 AM

Can you tell us what command you give that gives that output? The only thing that seems similar to these codes is what I get from an "aptitude search <package>" command. But a "pi" response would be contradictory since a package can't be both purged and installed. I guess it must be something else.
jdk

Amdx2_x64 12-02-2011 04:18 AM

Sorry. That should have been aptitude not apt-get.


Code:

~$ aptitude search vserver
p  linux-headers-2.6-vserver-686                                                                - Header files for Linux 2.6-vserver-686 (meta-package)                                                 
p  linux-headers-2.6-vserver-686-bigmem                                                          - Header files for Linux 2.6-vserver-686-bigmem (meta-package)                                         
pi  linux-headers-2.6.32-5-common-vserver                                                        - Common header files for Linux 2.6.32-5-vserver                                                       
pi  linux-headers-2.6.32-5-vserver-686                                                            - Header files for Linux 2.6.32-5-vserver-686                                                           
p  linux-headers-2.6.32-5-vserver-686-bigmem                                                    - Header files for Linux 2.6.32-5-vserver-686-bigmem                                                   
p  linux-image-2.6-vserver-686                                                                  - Linux 2.6 for modern PCs (meta-package), Linux-VServer support                                       
p  linux-image-2.6-vserver-686-bigmem                                                            - Linux 2.6 for PCs with 4GB+ RAM (meta-package), Linux-VServer support                                 
p  linux-image-2.6.32-5-vserver-686                                                              - Linux 2.6.32 for modern PCs, Linux-VServer support                                                   
p  linux-image-2.6.32-5-vserver-686-bigmem                                                      - Linux 2.6.32 for PCs with 4GB+ RAM, Linux-VServer support                                             
p  linux-image-2.6.32-5-vserver-686-bigmem-dbg                                                  - Debugging infos for Linux 2.6.32-5-vserver-686-bigmem                                                 
p  linux-image-vserver-686                                                                      - Linux for modern PCs (meta-package), Linux-VServer support                                           
p  linux-image-vserver-686-bigmem                                                                - Linux for PCs with 4GB+ RAM (meta-package), Linux-VServer support                                     
v  linux-latest-modules-2.6.32-5-vserver-686                                                    -                                                                                                       
v  linux-latest-modules-2.6.32-5-vserver-686-bigmem                                              -                                                                                                       
v  linux-modules-2.6.32-5-vserver-686                                                            -                                                                                                       
v  linux-modules-2.6.32-5-vserver-686-bigmem                                                    -                                                                                                       
pi  nvidia-kernel-2.6-vserver-686                                                                - NVIDIA kernel module for Linux 2.6 (vserver-686 flavor)                                               
p  nvidia-kernel-2.6-vserver-686-bigmem                                                          - NVIDIA kernel module for Linux 2.6 (vserver-686-bigmem flavor)                                       
pB  nvidia-kernel-2.6.32-5-vserver-686                                                            - NVIDIA binary kernel module for Linux 2.6.32-5-vserver-686                                           
p  nvidia-kernel-2.6.32-5-vserver-686-bigmem                                                    - NVIDIA binary kernel module for Linux 2.6.32-5-vserver-686-bigmem                                     
p  util-vserver                                                                                  - user-space tools for Linux-VServer virtual private servers                                           
p  vserver-debiantools                                                                          - Tools to manage debian virtual servers


widget 12-02-2011 07:35 AM

Quote:

Originally Posted by jdkaye (Post 4539863)
Can you tell us what command you give that gives that output? The only thing that seems similar to these codes is what I get from an "aptitude search <package>" command. But a "pi" response would be contradictory since a package can't be both purged and installed. I guess it must be something else.
jdk

+231

62chevy 12-02-2011 06:33 PM

Quote:

Figure 2.9. Values of the “current state” flag

i- the package is installed and all its dependencies are satisfied. c- the package was removed, but its configuration files are still present. p- the package and all its configuration files were removed, or the package was never installed.
v- the package is virtual.
B- the package has broken dependencies.
u- the package has been unpacked but not configured.
C- half-configured: the package's configuration was interrupted.
H- half-installed: the package's installation was interrupted.


Figure 2.10. Values of the “action” flag
i- the package will be installed.u-the package will be upgraded.
d- the package will be deleted: it will be removed, but its configuration files
will remain on the system.
p- the package will be purged: it and its configuration files will be removed. h- the package will be held back: it will be kept at its current version, even if a
newer version becomes available, until the hold is cancelled. F- An upgrade of the package has been forbidden.
r- the package will be reinstalled.
B- the package is “broken”: some of its dependencies will not be
satisfied. aptitude will not allow you to install, remove, or upgrade
anything while you have broken packages.
This is from the reference manual. Fig 2.9 would be the first letter and Fig 2.10 would be the second letter. So ' pi ' would mean not installed but will be installed. ' pB ' means not installed but Broken. Until you fix that ' pb ' for nvidia nothing can be installed or removed.

Amdx2_x64 12-02-2011 07:38 PM

Quote:

Originally Posted by 62chevy (Post 4540598)
This is from the reference manual. Fig 2.9 would be the first letter and Fig 2.10 would be the second letter. So ' pi ' would mean not installed but will be installed. ' pB ' means not installed but Broken. Until you fix that ' pb ' for nvidia nothing can be installed or removed.

Now that makes sense. Especially with some other issue I was having before and during. I ended up reinstalling that kernel anyways, I need it for vmware, which I also reinstalled.

Thanks

62chevy 12-02-2011 09:13 PM

Glad i could help.


All times are GMT -5. The time now is 07:02 AM.