Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: unfortuntly my dpkg totaly uninstall

  1. #1
    Join Date
    Mar 2014
    Beans
    9

    Unhappy unfortuntly my dpkg totaly uninstall

    i am using ubuntu 14.04 LTS

    working good...but

    unfortuntly my dpkg totaly uninstall,,, now unable to update , cannot open software center

    and when try to update by synaptic package manager then see




    E: Could not open lock file /var/lib/dpkg/lock - open (2: No such file or directory)
    E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
    E: _cache->open() failed, please report.


    sudo apt-get update also try

  2. #2
    Join Date
    May 2007
    Location
    The New Forest
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: unfortuntly my dpkg totaly uninstall

    That error generally refers to you having a package manager open or working at the same time. Make sure nothing else is doing anything - you might have update manager working in the background.

  3. #3
    Join Date
    Mar 2014
    Beans
    9

    unfortuntly my dpkg totaly uninstall

    i am using ubuntu 14.04 LTS

    working good...but

    unfortuntly my dpkg totaly uninstall,,, now unable to update , cannot open software center

    and when try to update by synaptic package manager then see




    E: Could not open lock file /var/lib/dpkg/lock - open (2: No such file or directory)
    E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
    E: _cache->open() failed, please report.


    sudo apt-get update also try

  4. #4
    Join Date
    Nov 2009
    Beans
    3,336

    Re: unfortuntly my dpkg totaly uninstall

    Have you tried this in a terminal

    sudo apt-get update

    Also if that command works .... to update/upgrade everything once more .... you could try

    sudo apt-get install aptitude

    sudo aptitude update

    sudo aptitude safe-upgrade

    ________________________________

    Also do not keep creating the same post - you have 3 now all asking the very same thinghttp://ubuntuforums.org/showthread.php?t=2211450
    Last edited by 23dornot23d; March 16th, 2014 at 11:11 AM.

  5. #5
    Join Date
    Jun 2006
    Location
    UK
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: unfortuntly my dpkg totaly uninstall

    Threads merged. Please do not post duplicates in different parts of the forum.
    Ubuntu 20.04 Desktop Guide - Ubuntu 22.04 Desktop Guide - Forum Guide to BBCode - Using BBCode code tags

    Member: Not Canonical Team

    If you need help with your forum account, such as SSO login issues, username changes, etc, the correct place to contact an admin is here. Please do not PM me about these matters unless you have been asked to - unsolicited PMs concerning forum accounts will be ignored.

  6. #6
    Join Date
    Mar 2014
    Beans
    9

    Re: unfortuntly my dpkg totaly uninstall

    i try but nothing to do,,, i am downlod manualy dpkg_1.16.1.2ubuntu7.2.tar.bz2


    not known how to install

  7. #7
    Join Date
    Mar 2014
    Beans
    9

    Re: unfortuntly my dpkg totaly uninstall

    faruk@faruk-MacBookPro:~$ sudo apt-get install aptitude
    [sudo] password for faruk:
    E: Could not open lock file /var/lib/dpkg/lock - open (2: No such file or directory)
    E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
    faruk@faruk-MacBookPro:~$

  8. #8
    Join Date
    Mar 2014
    Beans
    9

    Re: unfortuntly my dpkg totaly uninstall

    faruk@faruk-MacBookPro:~$ sudo aptitude safe-upgrade
    [sudo] password for faruk:
    sudo: aptitude: command not found
    faruk@faruk-MacBookPro:~$

  9. #9
    Join Date
    Nov 2009
    Beans
    3,336

    Re: unfortuntly my dpkg totaly uninstall

    What does this show when you type it in a terminal lowercase (LS) by the way.

    ls /var/lib/dpkg/

  10. #10
    Join Date
    Mar 2014
    Beans
    9

    Re: unfortuntly my dpkg totaly uninstall

    faruk@faruk-MacBookPro:~$ ls /var/lib/dpkg/
    ls: cannot access /var/lib/dpkg/: No such file or directory
    faruk@faruk-MacBookPro:~$

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

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