Can't update since I cloned to an SSD HD

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Eazent
Level 1
Level 1
Posts: 5
Joined: Mon Jun 25, 2018 12:01 am

Can't update since I cloned to an SSD HD

Post by Eazent »

There appears to be 2 problems here. Other forums recommended removing "ubuntu-mono" and reinstall it. But when I try permission was denied. The other error I couldn't find any help on....Has anyone here ever seen something like this?

https://imgur.com/a/HiH5JjI
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.
legacypowers
Level 4
Level 4
Posts: 270
Joined: Sat Dec 19, 2020 8:53 am

Re: Can't update since I cloned to an SSD HD

Post by legacypowers »

Things that you should try

Code: Select all

sudo apt --fix-broken install
if that don't work try this
Here are step by step instructions to fix this problem, which appears to be file corruption in the .list files related to these pacakges:

Verify that the .list files are full of garbage:

Code: Select all

cat /var/lib/dpkg/info/<name-of-package>.list
Remove the corrupt .list file:

Code: Select all

sudo rm /var/lib/dpkg/info/<name-of-package>.list
Run the reinstall for that package (will show a warning, but should reinstall):

Code: Select all

 sudo apt install <name-of-package> --reinstall
If what happened to me happens to you, each time you run this it will run into another corrupted .list file and you will have to step through many before your system is fixed. If you have many, then step three is optional -- just run one sudo apt upgrade at the end and it will reinstall everything you need.
Source:https://askubuntu.com/questions/1106373 ... al-newline


by the way, maybe your clone wasn't properly done and you may have even more files that were corrupted on the cloning process.
Terminal - zsh wrote: ╭─legacy@forums.linuxmint.com
╰─➜ _
shoaibiqbal123
Level 1
Level 1
Posts: 18
Joined: Thu Nov 25, 2021 5:32 am

Re: Can't update since I cloned to an SSD HD

Post by shoaibiqbal123 »

Check if you are missing some kernel dll files
Eazent
Level 1
Level 1
Posts: 5
Joined: Mon Jun 25, 2018 12:01 am

Re: Can't update since I cloned to an SSD HD

Post by Eazent »

no luck yet. step one said "no such file of directory."
step 2 resulted in 0 new upgrades/removals/new installs
step 3, again no such file or directory.
step 4, same result as original post.
legacypowers
Level 4
Level 4
Posts: 270
Joined: Sat Dec 19, 2020 8:53 am

Re: Can't update since I cloned to an SSD HD

Post by legacypowers »

Eazent wrote: Mon Dec 06, 2021 9:00 pm no luck yet. step one said "no such file of directory."
step 2 resulted in 0 new upgrades/removals/new installs
step 3, again no such file or directory.
step 4, same result as original post.
did you replaced the <name-of-package> with the name of the package that is giving you errors?
Terminal - zsh wrote: ╭─legacy@forums.linuxmint.com
╰─➜ _
Locked

Return to “Other topics”