Dpkg error, not letting update/install/remove

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
Naerok

Dpkg error, not letting update/install/remove

Post by Naerok »

Hello, today i was updating mint thro update manager and i got the following error:

Code: Select all

(synaptic:5492): GLib-CRITICAL **: g_child_watch_add_full: assertion 'pid > 0' failed
Preconfiguring packages ...
*** Error in `/usr/bin/dpkg': free(): invalid next size (fast): 0x0000000004eaecc0 ***
E: Sub-process /usr/bin/dpkg exited unexpectedly
I have look for a solution and have come empty handed, and i would like to know if anyone have an ideia, or do i have to make a clean install?

Thanks in advance,

Naerok
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.
Kalyk
Level 5
Level 5
Posts: 769
Joined: Wed Mar 12, 2014 5:29 pm
Location: The Netherlands

Re: Dpkg error, not letting update/install/remove

Post by Kalyk »

Hello and welcome to this forum!!

I also had a problem this weekend with apt-get and Mint 17.1-rc gave me this command to correct it (in the terminal)

Code: Select all

sudo dpkg --configure -a
sudo apt-get clean
Try if this helps.

In your error I see the word "free", which gives me the idea that your disk might be full, but probably that's not its meaning in this case.
You might do df to know for sure though.
Add (Solved) to the topic-title of the first post when appropriate so others know they might find a solution here.
Naerok

Re: Dpkg error, not letting update/install/remove

Post by Naerok »

Hi there and thanks for the reply

i have tried your solution, but the error remains.

I also have do "df" command and got the following display

Code: Select all

Filesystem     1K-blocks     Used Available Use% Mounted on
/dev/sda6      138286260 71505716  59732960  55% /
none                   4        0         4   0% /sys/fs/cgroup
udev             1974664        4   1974660   1% /dev
tmpfs             398036     3208    394828   1% /run
none                5120        0      5120   0% /run/lock
none             1990168    17232   1972936   1% /run/shm
none              102400       24    102376   1% /run/user
/dev/sda2      262746108 19424504 243321604   8% /media/ntfs
/dev/sdb1        1929244    12052   1917192   1% /media/naerok/26E01995E0196BF5
Kalyk
Level 5
Level 5
Posts: 769
Joined: Wed Mar 12, 2014 5:29 pm
Location: The Netherlands

Re: Dpkg error, not letting update/install/remove

Post by Kalyk »

I'm sorry but I don't see a solution at the moment.
Perhaps another forum member has some other idea.
Or indeed you might just do a reinstall, Mint 17.1 will be ready shortly.
Add (Solved) to the topic-title of the first post when appropriate so others know they might find a solution here.
Naerok

Re: Dpkg error, not letting update/install/remove

Post by Naerok »

Ok, thanks anyway for the time spent
Cowdiddly

Re: Dpkg error, not letting update/install/remove

Post by Cowdiddly »

Ive had this same problem installing the first updates for the Debian version. I solved it by doing the updates one by one by hand in terminal, by typing the command apt install (then the filename). It will give you the current version and the newer version for updating. I had to resort to this for lack of my knowing a better way but it worked great and after I was have way through the list, one the updates corrected the problem and I was able to do the remainder with update manager normally.

There is the command, kill (name of running process, in this case dpkg) you could use to kill dpkg. or killall (use this on with caution as it kills everything running) but I would think that dpkg is probably associated with the update manager itself, debianpackagemgr?, be like shooting yourself in the back. I dont know.
Locked

Return to “Software & Applications”