Results 1 to 9 of 9

Thread: dpkg: warning: files list file for package missing, as assuming package has ....

  1. #1
    Senior Member
    Join Date
    Jan 2011
    Posts
    123

    dpkg: warning: files list file for package missing, as assuming package has ....

    as soon as I apt-get install something a whole bunch of those errors pops up.
    Luckely those installs do succeed.
    I can fix the problems by doing a apt-get remove && apt-get install for every package but this is a very time consuming job as you can imagine...

    Is there any magic command I can try?
    I did:
    apt-get autoremove
    apt-get clean
    apt-get autoclean
    aptitude reinstall '~i'
    ....

    none fixed the problem
    Are those errors serious?
    and I did googled, but help on those forums was no real help to be honest
    I am running knoppix 6.4.3 (cd) on a usb. I think I screwed up somewhere while remastering but now I copied forester's script and did some changes, no trouble while remastering anymore

  2. #2
    Senior Member
    Join Date
    Jan 2011
    Posts
    242
    dinoseopje, what are you trying to do now ?

    I am guessing you want to install some software ? I'm guessing the warnings you are getting is trying to tell you Knoppix's view of the repository is out of date. If your using 6.4.3. then it is about two months out of date. Hundreds of package has been modified. If you install this way you risk dependency problems that could render your Knoppix inoperable.

    Did you start with
    Code:
    sudo apt-get update
    ?

    That will update your package list for you.

    Warning:
    when I did this, the new package list database swallowed 200 Mb of my preciously small knoppix-data.img.

    Viel glück and all that.

  3. #3
    Senior Member
    Join Date
    Jan 2011
    Posts
    123
    after an apt-get update the problem persisted
    I am guessing dpkg keeps a list of all installed packages and that I copied in a remaster the wrong /var folder to the new knoppix file so the file is completely out of sync with what I have installed.
    or I removed a bit to much with bleachbit

    I have also tried
    apt-get update
    apt-get upgrade
    apt-get dist-upgrade
    ...

    Can I still repair my screwup?

  4. #4
    Moderator Moderator
    Join Date
    Jan 2010
    Location
    Asheville, NC, USA
    Posts
    528
    There's always the "Delete the knoppix-data.* and start over" method, if nothing else works. There are many front-ends for apt/dpkg, which have differing capabilities. I have had some good results with aptitude from the command line. Don't forget to prefix your command with sudo! Or you can "sudo su" and become root.

    Cheers!
    Krishna
    Last edited by krishna.murphy; 02-22-2011 at 11:29 PM. Reason: typo

  5. #5
    Senior Member
    Join Date
    Jan 2011
    Posts
    242
    Oh dear.

    Kishna has a point.

    You still have not told us what you were trying to do and what you did to get into this mess.

    All you done is give is a list of things you already tried to get out of the mess, most of which may have just made things worse. Why you expect anyone to be able to help ?

    Try:

    Code:
    sudo rm -fr /KNOPPIX-DATA/var/lib/apt/lists/*
    sudo apt-get update

  6. #6
    Senior Member
    Join Date
    Jan 2011
    Posts
    123
    I don't really know how I got into the mess,could be a lot of things.
    the problem isn't in knoppix-data anymore because I needed to remaster to a squashfs file.

    It happens when I do an apt-get install. I've continued to just apt-get install packagename --reinstall everything, that solves my problem but it's a lot of work.

  7. #7
    Senior Member
    Join Date
    Jan 2011
    Posts
    123
    update: I have reinstalled all 'problem packages' and now I do not see errors popping up while using apt-get install
    now just wait and see what happens next

  8. #8
    Senior Member
    Join Date
    Jan 2011
    Posts
    242
    Dear Dino,

    I've not messed up apt this way so I can't advise on how to get out of the mess. All I can do is guess and probably guess wrong.

    If you think your problem comes from the way your remastered then you really should revert back to before you did the remaster and move forward from there. You should back up /home somewhere just in case.

    When you remaster, you should keep all modifications to /home, /var and probably /etc in knoppix-data.img and not remaster these directories but keep what was originally on the CD.

    I appreciate that that might mean going back to square one and installing to USB again but going forwards by doing a lot of reinstalling packages takes you into unknown territory.

    Put it bluntly, next time you have ask a question about bizarre behaviour on your system, folks are likely to reply something along the lines of "What do you expect" or "I told you so" or "I can't help" or "You're on your own" or "Good luck with that mate" or just a long line of unkind smilies.

    Look on the bright side - you can start again with Knoppix 6.4.4 so not so many packages will be 'out of date' with respect to the Debian repository.

  9. #9
    Senior Member
    Join Date
    Jan 2011
    Posts
    123
    yeah, I think your true.
    I'm going to use another memorycard and slowly try to setup knoppix 6.4.4 the way I want it to be.
    That way I have a correct system again

Posting Permissions

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


Intel Core i7-10700T 2.00GHz 8-Core SRH6U 16-Thread LGA-1200 Processor picture

Intel Core i7-10700T 2.00GHz 8-Core SRH6U 16-Thread LGA-1200 Processor

$539.96



Supermicro 4U 4x Nvidia GPU AI Server 3.8Ghz 8-Core 256GB 2x10G SFP+ 2x2200W picture

Supermicro 4U 4x Nvidia GPU AI Server 3.8Ghz 8-Core 256GB 2x10G SFP+ 2x2200W

$3472.00



Supermicro 4U 4x Nvidia GPU AI Server 3.8Ghz 8-Core 64GB 2x10G SFP+ 2x2200W picture

Supermicro 4U 4x Nvidia GPU AI Server 3.8Ghz 8-Core 64GB 2x10G SFP+ 2x2200W

$3180.00



Supermicro 4U 4x Nvidia GPU AI Server 3.6Ghz 8-Core 256GB 2x10G SFP+ 2x2200W picture

Supermicro 4U 4x Nvidia GPU AI Server 3.6Ghz 8-Core 256GB 2x10G SFP+ 2x2200W

$1732.00



Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ... picture

Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ...

$689.99



Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc... picture

Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc...

$619.99



Intel - Core i7-13700K 13th Gen 16 cores 8 P-cores + 8 E-cores 30M Cache, 3.4... picture

Intel - Core i7-13700K 13th Gen 16 cores 8 P-cores + 8 E-cores 30M Cache, 3.4...

$489.99



Apple iMac Pro 2017 27 Inch 5K 3.2 GHz 8-Core Xeon 64GB RAM 1TB Vega picture

Apple iMac Pro 2017 27 Inch 5K 3.2 GHz 8-Core Xeon 64GB RAM 1TB Vega

$1295.00



ALLEGIANCE Desktop Computer Gaming PC: Intel 8 Core 128GB RAM, 2TB SSD, GeForce picture

ALLEGIANCE Desktop Computer Gaming PC: Intel 8 Core 128GB RAM, 2TB SSD, GeForce

$687.99



Lenovo Thinkcentre M920Q Intel Core i5-8th gen 16GB 256GB NVMe SSD Windows11 Pro picture

Lenovo Thinkcentre M920Q Intel Core i5-8th gen 16GB 256GB NVMe SSD Windows11 Pro

$165.00