Solution: mintdesktop 3.2.2 upgrade bug

Archived topics about LMDE 1 and LMDE 2
Locked
proxima_centauri

Solution: mintdesktop 3.2.2 upgrade bug

Post by proxima_centauri »

Via clem,

The mintdesktop upgrade bug is hitting LMDE
The solution is to shut mintdesktop's obsolete prerm script..

Code: Select all

sudo rm /var/lib/dpkg/info/mintdesktop.prerm && apt upgrade
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 4 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
clem
Level 12
Level 12
Posts: 4308
Joined: Wed Nov 15, 2006 8:34 am
Contact:

Re: Solution: mintdesktop 3.2.2 upgrade bug

Post by clem »

To be more precise:

Code: Select all

apt update
sudo rm /var/lib/dpkg/info/mintdesktop.prerm
apt install mintdesktop
Note: This is related to the previous version of mintdesktop (as weird as it sounds, this is actually a fix but because we're in the presence of a prerm bug you get hit by the problem after you remove the buggy version) and it's not specific to LMDE.
Image
tenfoot
Level 6
Level 6
Posts: 1254
Joined: Sun Jun 03, 2007 4:12 am

Re: Solution: mintdesktop 3.2.2 upgrade bug

Post by tenfoot »

clem wrote:To be more precise:

Code: Select all

apt update
sudo rm /var/lib/dpkg/info/mintdesktop.prerm
apt install mintdesktop
Note: This is related to the previous version of mintdesktop (as weird as it sounds, this is actually a fix but because we're in the presence of a prerm bug you get hit by the problem after you remove the buggy version) and it's not specific to LMDE.

Thank you Clem. I'll mark my query regarding this as solved.
sunwatt

Re: Solution: mintdesktop 3.2.2 upgrade bug

Post by sunwatt »

tenfoot wrote:
clem wrote:To be more precise:

Code: Select all

apt update
sudo rm /var/lib/dpkg/info/mintdesktop.prerm
apt install mintdesktop
Note: This is related to the previous version of mintdesktop (as weird as it sounds, this is actually a fix but because we're in the presence of a prerm bug you get hit by the problem after you remove the buggy version) and it's not specific to LMDE.

Thank you Clem. I'll mark my query regarding this as solved.
hmmmm

I ran the code in terminal, Fetched 6,710 B done.

Rebooted, no change, update still wants to update, Im sure its mintdesktop 3.2.1 again.

I rebooted, no change.

I tried to update mintdesktop with synaptic, no change.

What am I doing wrong?

thanks

Jim
mini 9 - 32gb ssd
LMDE
grey1960envoy

Re: Solution: mintdesktop 3.2.2 upgrade bug

Post by grey1960envoy »

Thank you this worked for me
grey1960envoy

Re: Solution: mintdesktop 3.2.2 upgrade bug

Post by grey1960envoy »

Sunwatt I posted in my terminal : sudo rm /var/lib/dpkg/info/mintdesktop.prerm && apt upgrade . and after the reboot it worked like a charm
Last edited by grey1960envoy on Wed Dec 08, 2010 6:11 pm, edited 1 time in total.
sunwatt

Re: Solution: mintdesktop 3.2.2 upgrade bug

Post by sunwatt »

Thanks, I got the mintdesktop 3.2.2 fixed.

I marked it solved on another thread I think... sorry.

The same day that happened, the bootup screen changed to Mint 10, my icons changed, and the panel changed colors too. Very strange to see a gray Mint 10 screen on booting up LMDE.

Have not seen anyone else have this issue. It happened on 3 machines here all running LMDE.

Jim
Edgpaez

Re: Solution: mintdesktop 3.2.2 upgrade bug

Post by Edgpaez »

@sunwatt
It's not an issue... LMDE had an update to have all the Mint10 features including theme, icons...

PS: I don't know why but I think I'm spamming :?
billril

Re: Solution: mintdesktop 3.2.2 upgrade bug

Post by billril »

My update doesn't do the update and comes up with this error!
"E: /var/cache/apt/archives/mintdesktop_3.2.2_all.deb: there is no script in the new version of the package - giving up"
should I delete the file in cache and give it a try?
cheers
Bill
simplon

Re: Solution: mintdesktop 3.2.2 upgrade bug

Post by simplon »

billril wrote:My update doesn't do the update and comes up with this error!
"E: /var/cache/apt/archives/mintdesktop_3.2.2_all.deb: there is no script in the new version of the package - giving up"
should I delete the file in cache and give it a try?
cheers
Bill
Hey Bill,

You tried to rm the file already as mentioned in the start of the thread? It should solve it..
billril

Re: Solution: mintdesktop 3.2.2 upgrade bug

Post by billril »

Hi,
can't figure out how I can do that as it tells me I don't have permission. As I am using Mint Debian which came without a Root account and doesn't allow me to make one, how can I delete that file?
Also why does the error message have E: at the start of the message? Afraid I am more than a little confused, and any help will be appreciated.
BTW I lived in Singapore for some time in the 60s and 70s!
--------------------------------------------------------------------------------
Edited---
"Because of a problem in mintdesktop 3.2.1, you’ll need to run the following commands to ensure a smooth upgrade:

apt update

sudo rm /var/lib/dpkg/info/mintdesktop.prerm

apt install mintdesktop

This hiccup with mintdesktop is fixed in the version you’re upgrading to and a reminiscence of the previous version. Please accept our apologies for this little problem."
_________________________________________________
All working OK Now!
cheers
Bill
scharkalvin

Re: Solution: mintdesktop 3.2.2 upgrade bug

Post by scharkalvin »

I had got the script error, and my menu is missing the icons. I tried the fix and now the script error is gone the update seems in sync, but the main menu still has no icons. What's wrong?
wayne128

Re: Solution: mintdesktop 3.2.2 upgrade bug

Post by wayne128 »

scharkalvin wrote:I had got the script error, and my menu is missing the icons. I tried the fix and now the script error is gone the update seems in sync, but the main menu still has no icons. What's wrong?

I had it a while ago,
Read my thread here http://forums.linuxmint.com/viewtopic.php?f=141&t=61752
go into the link and just follow. it works for me
ddalley
Level 4
Level 4
Posts: 303
Joined: Sun Mar 15, 2009 4:25 am
Location: Toronto, Canada

Re: Solution: mintdesktop 3.2.2 upgrade bug

Post by ddalley »

grey1960envoy wrote:Sunwatt I posted in my terminal : sudo rm /var/lib/dpkg/info/mintdesktop.prerm && apt upgrade . and after the reboot it worked like a charm
It took a while, but this seems to have worked for my install, too.

Thanks!
himpelr
Level 1
Level 1
Posts: 3
Joined: Mon Jul 12, 2010 8:26 am

Re: Solution: mintdesktop 3.2.2 upgrade bug

Post by himpelr »

I tried the solutions mentioned but I get the following result:

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
xserver-xorg-video-all
The following packages will be upgraded:
acpid base-files firmware-linux-free linux-base linux-headers-2.6.32-5-686 linux-headers-2.6.32-5-common
linux-image-2.6-686 linux-image-2.6.32-5-686 linux-libc-dev linux-sound-base mintdesktop udev xserver-xorg
xserver-xorg-core xserver-xorg-input-all xserver-xorg-video-ati xserver-xorg-video-chips xserver-xorg-video-intel
xserver-xorg-video-nouveau xserver-xorg-video-openchrome xserver-xorg-video-radeon
21 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/cache/apt/archives/

The /var/cache/apt/archives directory is set to 755 and is owned by root; group root

Any suggestions
himpelr
Level 1
Level 1
Posts: 3
Joined: Mon Jul 12, 2010 8:26 am

Re: Solution: mintdesktop 3.2.2 upgrade bug

Post by himpelr »

Sorry, I had the update manager still running in another desktop window. It seem to be upgrading fine now.
runbei

Re: Solution: mintdesktop 3.2.2 upgrade bug

Post by runbei »

proxima_centauri wrote:Via clem,

The mintdesktop upgrade bug is hitting LMDE
The solution is to shut mintdesktop's obsolete prerm script..

Code: Select all

sudo rm /var/lib/dpkg/info/mintdesktop.prerm && apt upgrade
Trying to get LMDE installed correctly - my question: when do I enter this command? Sorry, but the last attempt at an install bombed either (a) because I accepted suggested overwriting of various config files while MintUpdate installed 600+ updates, or (b) because I entered the above code at the wrong time - i.e., before I let MintUpdate bring the system up to date (w/the 600+ changes).

When I rebooted after the updates completed, there was no Mint menu, and various error messages - which I didn't bother to write down, as I'm doing a complete reinstall now in hopes there'll be an answer to this before I run MintUpdate. Help, help!
o_unico

Re: Solution: mintdesktop 3.2.2 upgrade bug

Post by o_unico »

Sorry, My english isn't good but this command you show is fix that bug which never show whenever updates are available? That icon at bottom left which looks like a shield... He always show the ticked symbol. I always need to check manually if there is any update.
874768078

Re: Solution: mintdesktop 3.2.2 upgrade bug

Post by 874768078 »

[quote="clem"]To be more precise:

Code: Select all

apt update
sudo rm /var/lib/dpkg/info/mintdesktop.prerm
apt install mintdesktop
sudo rm /var/lib/dpkg/info/mintdesktop.prerm && apt upgrade
rm: 无法删除 “/var/lib/dpkg/info/mintdesktop.prerm”: 没有那个文件或目录
Locked

Return to “LMDE Archive”