Results 1 to 4 of 4

Thread: how to get apt and dpkg seeing the same things?

  1. #1
    Senior Member registered user
    Join Date
    Jun 2003
    Posts
    611

    how to get apt and dpkg seeing the same things?

    I uninstall apps with apt-get remove usually, only sometimes with dpkg -r. So when I generate a size-sorted list of what's installed with dpkg, the things I removed with apt still show up. And I can no longer remove them with dpkg once they've been unistalled.

    How can I get dpkg to know which apps I've removed with apt-get?

  2. #2
    Junior Member
    Join Date
    May 2004
    Posts
    3
    I faced the same problem as yours.

    But I take a further action "dpkg -P package name". After this command has been run, it shows "uninstalled" in the status file. It seems that apt-get does not update the installation file status.

  3. #3
    Senior Member registered user
    Join Date
    Apr 2003
    Posts
    220
    it sure does .. but if you look carefully you'll se ii at some and rc at others. If you want to get completly rid of file you need to --purge it

  4. #4
    Member registered user
    Join Date
    Dec 2003
    Location
    Brasil
    Posts
    33
    cleaning

    for i in $(dpkg -l | grep ^rc | cut -d " " -f 3); do dpkg --purge $i; done


    for uninstall packages use apt-get remove --purge package-name,no trash after...

Similar Threads

  1. How do you run things as root?
    By adamherb in forum General Support
    Replies: 3
    Last Post: 01-16-2005, 05:25 PM
  2. apt-get / dpkg error: unable to access dpkg status area
    By Nitromethane1261 in forum General Support
    Replies: 2
    Last Post: 09-15-2004, 12:09 AM
  3. DVD and other things about 3.4
    By firebyrd10 in forum General Support
    Replies: 0
    Last Post: 05-06-2004, 02:59 AM
  4. 2 things that still bug me
    By fingers99 in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 05-26-2003, 01:32 AM
  5. Some things I have added
    By linuxfan in forum Ideas
    Replies: 2
    Last Post: 04-03-2003, 04:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Lot of 10pcs Brocade 57-1000012-01 8Gbps SWL 850nm SFP+ Optical Transceivers picture

Lot of 10pcs Brocade 57-1000012-01 8Gbps SWL 850nm SFP+ Optical Transceivers

$19.00



Cisco Nexus 48-Port 10G SFP+ Switch N9K-9396PX w/ 9K-M12PQ 12-Port 40G QSFP picture

Cisco Nexus 48-Port 10G SFP+ Switch N9K-9396PX w/ 9K-M12PQ 12-Port 40G QSFP

$249.99



AFBR-57G5MZ-ELX AVAGO Genuine 32Gbps 850NM MMO FC SFP+ TRANSCEIVER picture

AFBR-57G5MZ-ELX AVAGO Genuine 32Gbps 850NM MMO FC SFP+ TRANSCEIVER

$65.00



GENUINE Cisco SFP-10G-SR V03 10-2415-03 Transceiver Module 850nm 10G SFP+ picture

GENUINE Cisco SFP-10G-SR V03 10-2415-03 Transceiver Module 850nm 10G SFP+

$6.99



Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03  picture

Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03

$8.00



NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping* picture

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*

$18.00



Brand New Cisco GLC-LH-SMD 1000BASE-LX/LH SFP Module 1310nm 10km SMF LC picture

Brand New Cisco GLC-LH-SMD 1000BASE-LX/LH SFP Module 1310nm 10km SMF LC

$13.89



Cisco GLC-SX-MMD SFP 1000Base-SX Short Haul  Module 10-2626-01 - 1 Year Warranty picture

Cisco GLC-SX-MMD SFP 1000Base-SX Short Haul Module 10-2626-01 - 1 Year Warranty

$21.49



LOT OF 20 Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module picture

LOT OF 20 Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module

$89.00



Cisco 10G SFP+ Module SFP-10G-SR 10-2415-03 (Lot of 5) picture

Cisco 10G SFP+ Module SFP-10G-SR 10-2415-03 (Lot of 5)

$24.99