Home > Failed To > Failed To Open Package Info File /var/lib/dpkg/status'

Failed To Open Package Info File /var/lib/dpkg/status'

Contents

I'd lean towards keeping, with caveats to note that dpkg isn't set up to install packages (and hence dpkg (-i|--configure) will fail). Ask a question Edit question Subscribers Subscribe Subscribe someone else • Take the tour • Read the guide © 2004-2016 CanonicalLtd. • Terms of use • Contact Launchpad Support • How can I forget children toys riffs? dpkg: 2 expected programs not found in PATH or not executable. have a peek here

sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available from http://ubuntuforums.org/archive/index.php/t-389997.html Noob:(Internet slang, pejorative) A newb or newbie; refers to the idea that someone is new to a game, concept, or idea; implying a lack of Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the Look for the old /var/lib/dpkg/status file at /var/lib/dpkg/status-old or /var/backups/dpkg.status.*. Find More Posts by comprookie2000 View Blog 09-15-2005, 07:47 PM #3 pafinator11 Member Registered: Jul 2005 Location: Massachusetts Distribution: Debian Lenny, FreeBSD Posts: 89 Original Poster Rep: well it

Failed To Open Package Info File /var/lib/dpkg/status'

Contact GitHub API Training Shop Blog About © 2016 GitHub, Inc. So just renaming or copying the backup file would solve your problem. sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available This will creates a new file called `available` on the same directory.Please note that `dpkg` will only look for the file `/var/lib/dpkg/available` and not `/var/lib/dpkg/available-old`. Does SQL Server cache the result of a multi-statement table-valued function?

But I still feel your whole approach is wrong. Provide an answer of your own, or ask Neil Johnson for more information if necessary. CentOS 5 dies in March 2017 - migrate soon!Full time Geek, part time moderator. E: Sub-process /usr/bin/dpkg Returned An Error Code (2) Error!

Only things that i cant get from rpms. Dpkg: Error: Failed To Open Package Info File '/usr/local/var/lib/dpkg/status' perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_IN.ISO8859-1" are supported and installed on your system. Ask Ubuntu works best with JavaScript enabled UbuntuCommunityAsk!DeveloperDesignDiscourseHardwareInsightsJujuShopMore ›AppsHelpForumLaunchpadMAASCanonical current community chat Ask Ubuntu Ask Ubuntu Meta your communities Sign up or log in to customize your list. Further sections explain the various subdirectories of /var; for example, /var/lib (where the files you deleted used to live) holds "state information pertaining to an application or the system", defined as

Need to get 0B/9669kB of archives. Centos Dpkg Until you do so, you'll be unable to use dpkg (and APT, etc.). Status file, thus should be fine. apt-get install --reinstall $(

Dpkg: Error: Failed To Open Package Info File '/usr/local/var/lib/dpkg/status'

Recovering from the deletion of system-critical files is not an exact science. If you'd like to contribute content, let us know. Failed To Open Package Info File /var/lib/dpkg/status' perl: warning: Falling back to the standard locale ("C"). Dpkg: Error: Unable To Create New File '/var/lib/dpkg/info/format-new': No Such File Or Directory Noob:(Internet slang, pejorative) A newb or newbie; refers to the idea that someone is new to a game, concept, or idea; implying a lack of experience.

Use the FAQ Luke Top braindope Posts: 4 Joined: 2014/11/20 09:37:55 Re: dpkg-query Quote Postby braindope » 2014/11/26 07:41:46 Thanks for the reply Top Display posts from previous: All posts1 day7 navigate here Browse other questions tagged apt package-management directory-structure dpkg or ask your own question. There are tricks to recreate /var/lib/dpkg/status based on the fact that every package is required to add a directory in the /usr/share/doc directory. On my debian system the program works fine. Dpkg: Error: Cannot Scan Updates Directory `/var/lib/dpkg/updates/': No Such File Or Directory

  1. Help with a prime number spiral which turns 90 degrees at each prime Second order SQL injection protection What's the English word for something that given attention too much to If
  2. locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale:
  3. Please visit this page to clear all LQ-related cookies.
  4. more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed
  5. Seems like dselect does a: /bin/bash /usr/lib/dpkg/methods/apt/update /var/lib/dpkg apt apt Note though things may have changed since Debian sarge.
  6. Done Building tag database...
  7. You are currently viewing LQ as a guest.
  8. Trying to recover: dpkg: failed to open package info file `/var/lib/dpkg/available' for reading: No such file or directory Reading package lists...
  9. And why are you installing dpkg on a portage box?
  10. Did you even attempt that much? > > And why are you installing dpkg on a portage box?

The solution that worked for me was to create a directory called "dpkg" as per the error message, and in it create an empty file called "status". The info/ stuff comes from each installed package, but it also reflects the history as well, at least for old conf files... Gentoo › gentoo-user Search everywhere only in this topic Advanced Search dpkg: failed to open package info file `/var/lib/dpkg/status' for reading: No such file or directory Classic List Threaded ♦ ♦ Check This Out Done Building dependency tree Reading state information...

Right now im trying to install gnomad2 from source and it will not compile because it is missing some dependencies which in fact are installed. Sudo: Apt-get: Command Not Found So replace /dev/sdaX in the above answer with /dev/sda1 –Avinash Raj May 5 '14 at 3:55 add a comment| Your Answer draft saved draft discarded Sign up or log in Distribution: Gentoo Posts: 3,291 Blog Entries: 5 Rep: If you want to install something I would suggest using a rpm that is made for your version of SuSe.

You have misunderstood the FHS, and AFAIK the only recovery paths are (a) restore from backup or (b) reinstall. –derobert Oct 13 '14 at 17:56 add a comment| 6 Answers 6

How can we get our son to stop sleeping in our bed? With the files you deleted, unless you have a backup of these files, I think the only thing left to do is take a backup of /home, /etc etc. Do you want to repair this problem now?0open lock file /var/lib/dpkg/lock - open (21: Is a directory)4update-alternatives: error: /var/lib/dpkg/alternatives/vim corrupt: invalid status0Depackaging error (Answers already provided in this forum did not apt-get update should rebuild it. /var/lib/dpkg/info contains files that ship with Debian packages.

nesv added a commit to nesv/homebrew that referenced this issue Apr 12, 2013 mistydemeo dpkg: add caveats … Fixes #18044. 68037e4 Done [email protected]:~$ ?????? up vote 4 down vote favorite 2 I have deleted some files around /var/lib/dpkg/, namely: /var/lib/dpkg/status /var/lib/dpkg/available /var/lib/dpkg/info/* I understand Debian uses these files to keep some information about installed packages. this contact form dpkg: error: failed to open package info file `/var/lib/dpkg/available' for reading: No such file or directory E: Sub-process /usr/bin/dpkg returned an error code (2) sudo do-release-upgrade dpkg: error: failed to open

Nub:A small lump or protuberance Adv Reply February 4th, 2012 #4 marcisim View Profile View Forum Posts Private Message 5 Cups of Ubuntu Join Date Dec 2009 Beans 20 Re: Is the Nintendo network ban tied to NNID or the console? Personal Open source Business Explore Sign up Sign in Pricing Blog Support Search GitHub This repository Watch 1,050 Star 29,394 Fork 13,907 Homebrew/legacy-homebrew Code Issues 0 Pull requests 0 Projects I have no clue how I ended up deleting them(if it wasnt because of a corrupt package, instead) sudo dpkg --clear-avail && sudo apt-get update sudo dpkg-reconfigure -a [email protected]:~$ sudo apt-get

If your backup isn't fully up-to-date, check the logs of recent package manipulations under /var/log/apt and in /var/log/dpkg.log. share|improve this answer edited Oct 13 '14 at 18:15 answered Oct 13 '14 at 18:07 derobert 47.4k694146 Can I copy the files over from another machine, or are they But now im getting off topic.Is there anyone that knows how to fix this? And why are you installing dpkg on a portage box?

Need to get 0 B/72.5 MB of archives. My question : 1. You want the binaries and a way to extract them. -- alan dot mckinnon at gmail dot com Paul Hartman-3 Reply | Threaded Open this post in threaded view ♦ ♦ This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant.

Alexander Pilipovsky Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Re: dpkg: failed to open package info file `/var/lib/dpkg/status' for There would be a backup for all the files inside `var/lib/dpkg` directory is located on the same directory itself.