Another package manager problem

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Fred

Re: Another package manager problem

Post by Fred »

carbon_unit,

Are you using sudo on the command line?

sudo apt-get update

This is the command you are looking for. If this isn't the problem, open synaptic and post the error message or messages it gives you.

Fred
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Fred

Re: Another package manager problem

Post by Fred »

carbon_unit,

The below command will usually clear a lock, depending of course on the cause.

sudo dpkg --configure -a

I would also do the below commands to clean up and start fresh.

sudo apt-get clean

sudo apt-get autoclean

Fred
Husse

Re: Another package manager problem

Post by Husse »

You can actually delete the two .bin files in /var/cache/apt
Husse

Re: Another package manager problem

Post by Husse »

Run

Code: Select all

sudo dpkg --configure -a 
first
Then rm the files one by one
Husse

Re: Another package manager problem

Post by Husse »

carbon_unit wrote:I did as you said. It still won't let me delete the file.
What error message do you get?
Does the file have a lock (a cross of sorts on the icon)?
Completely besides the subject
carbon_unit
makes me think of an episode in the original Star Trek where a "slightly" changed Voyager 1 was about to destroy Enterprise and the carbon_units = humans :) :)
Fred

Re: Another package manager problem

Post by Fred »

carbon_unit,

Open synaptic and tell me what kind of error messages you get. Synaptic is pretty good about giving feed back on errors.

If it doesn't show any errors initially, try refreshing the data base and see what happens.

Fred
Fred

Re: Another package manager problem

Post by Fred »

carbon_unit,

That insicates that something is definately got it locked, ie a program. One of the package manager front ends didn't turn it loose wen it finished with it. My guess is Mintupdate. Try uninstalling it and see what happens.

sudo apt-get remove mintupdate

Then reboot and see if it is unlocked.

sudo dpkg --configure -a

sudo apt-get update

If all works, reinstall mintupdate.

sudo apt-get install mintupdate

Fred
Husse

Re: Another package manager problem

Post by Husse »

Not that it helps right now, but I'm beginning to recognize the problem
You can use your system normally (or have I misunderstood that?) so if I take a little while before I come up with the solution is OK I hope
I have to figure out what to search for....
Husse

Re: Another package manager problem

Post by Husse »

Ok - all disks there?
Any data loss?
Check lost+found (need sudo for that)
Could be that something was lost because of the error that forced a manual fsck
Husse

Re: Another package manager problem

Post by Husse »

carbon_unit wrote:I booted to a live cd and I could not delete the files from there either. Even as root.
Seems you would need a bit of the power of the "vyger" in the StarTrek movie that featured carbon units
:)
Does the files exist?
This may be hard to check but one thing that came to mind is that the files are gone and it's only a false entry in the file system
You could run fsck or wait for it to do it's scheduled run
Husse

Re: Another package manager problem

Post by Husse »

Thank you for being patient
Two commands to test (and I may have given the first before - did not read everything again)

Code: Select all

sudo dpkg --configure -a 

Code: Select all

sudo apt-get -f install  
Elyssa should arrive soon
Locked

Return to “Software & Applications”