How Upgrade Linux Mint for First Time in Years

OP
J

js10

Member
Joined
Oct 21, 2021
Messages
43
Reaction score
8
Credits
577
That's a long, long time to go without updates.

I don't know if this is going to fix anything, or break something else.

Linux needs updates, just like any OS. It just doesn't force them on you. I'm unfamiliar with modern Windows, but my observations back when were that Linux got *more* updates than Windows - largely 'cause the whole OS happily updates everything from the package manager. The kernel itself doesn't get all that many updates.

So, yeah, I hope you've now run those commands. I also hope your system boots when you're done.

Good detective work on Condobloke's part! But, no, I was just checking in quickly to view the responses so that I would know what's in store for me later. In reality, it's neither of the above. I haven't done anything yet! I'm kind of in paralysis mode based on your "I also hope your system boots up when you're done" admission.

Lesson learned (the need to be a lot more diligent about updates) going forward, but right now I'm just worried that the cure could end up being worse than the disease. It sounds like I might need to wait until I can afford to be without access for a little while in case things go wrong, and honestly right now is not really that time -- at least not today.

So unless there's some kind of safeguard in place, it sounds like maybe I should hold off for now. If/when I do try this and things go wrong, I guess that can be a separate thread (written from, yes, another device!).
 


KGIII

Super Moderator
Staff member
Gold Supporter
Joined
Jul 23, 2020
Messages
4,558
Reaction score
4,222
Credits
36,574
You could take a backup before you do this (like Time Shift, search the forum as it's a favorite solution for many) and then update.

At some point, you gotta bite the bullet and run those two commands. It pretty much has to be done.

Odds are good that you'll be fine, but that's a whole lot of updates that need applying and a lot will have changed since then.
 

stan

Well-Known Member
Joined
Mar 19, 2018
Messages
1,004
Reaction score
1,134
Credits
9,370
At some point, you gotta bite the bullet and run those two commands. It pretty much has to be done.
Agreed. But when you do, add a "dash" ( - ) before the "y".... like this:
Code:
sudo apt update
sudo apt upgrade -y

The "-y" just means that the terminal will answer "yes" for you when needed. Good luck!
 

Condobloke

Well-Known Member
Joined
Apr 30, 2017
Messages
3,968
Reaction score
3,565
Credits
20,336
Go for it.

If this is a laptop, make sure it is plugged in and charging.

When it has finished......Reboot.
 
OP
J

js10

Member
Joined
Oct 21, 2021
Messages
43
Reaction score
8
Credits
577
At some point, you gotta bite the bullet and run those two commands. It pretty much has to be done.

I do realize that. I wouldn't even rule out this Saturday. But I certainly need access tomorrow. As for Timeshift, that's another thing, based on past experience, in which I think I might be causing more problems in an effort to avoid other problems (a problematic update).

By the way, several comments have made it clear that it will likely take a while. Are we talking like something that I should even do overnight -- that long?
 

Condobloke

Well-Known Member
Joined
Apr 30, 2017
Messages
3,968
Reaction score
3,565
Credits
20,336
Not that long…if your internet connection is ok, it may take 30 minutes. I can’t see it taking any longer. If it took 45 minutes that would have to be some sort of record.
 
OP
J

js10

Member
Joined
Oct 21, 2021
Messages
43
Reaction score
8
Credits
577
Not that long…if your internet connection is ok, it may take 30 minutes. I can’t see it taking any longer. If it took 45 minutes that would have to be some sort of record.
Okay, so I've overestimated quite a bit I guess. Good to know -- thanks again. Won't put off the inevitable forever!
 

KGIII

Super Moderator
Staff member
Gold Supporter
Joined
Jul 23, 2020
Messages
4,558
Reaction score
4,222
Credits
36,574
OpenSUSE Tumbleweed just recently had an upgrade with some 2200 upgrades at once. (That's huge.)

I want to say that it took about an hour.

And, a backup would be nice - 'cause then you can at least restore to where you were, even if where you were wasn't all that great a place to be.
 

Fanboi

Well-Known Member
Joined
Apr 16, 2021
Messages
358
Reaction score
270
Credits
4,288
Okay, let's see if I can respond to as many of the recent posts as possible in this one.
Fanboi, here's the output of the code you requested:
Okay, your disk use is on the high end (14 GB left on the system, that includes /home). But what your problem looks like is memory. You have only 2GB memory and are using swap. I am assuming this is your system idle, in which case 1GB is already in use. Another 800MB of 2GB in swap, which is a file on you system instead on a partition. TBH, IDK if browsing or daily use could push it over the threshold, but I'm guessing that or maybe bad memory or storage. Starting with storage, since you're there, try running badblocks /dev/sda5

If you feel up to the challenge, download the following AntiX live CD:
You'll also want Pass Mark's memtest (the best IMO). Download here:
https://www.memtest86.com/

- Start by burning the memtest image to USB stick.
- Boot into memtest and just leave it to run at least 1 full pass (2 recommend, 4 is overkill). If you get 1-5 errors, it's unhealthy. If you get 10+ errors, you can safely assume your RAM is stuffed. If you're lucky and the bad area is more or less contiguous, we can blacklist that at startup with GRUB, but we'll get to the bridge once you've run the test.
- If it is not your RAM, then burn the AntiX image to the flashdrive and boot the live CD. We're making swap.
- Boot into AntiX, just choose the first option from the boot menu for now.
- Open a root console and enter gparted &.
- In Gparted, there's a drop-down menu to the top right. Use it to select the correct HDD/SSD. It will most likely still be /dev/sda, so I will reference sda5 as sda5, but if it was enumerated as /dev/sdb, then sda5 becomes sdb5...
- After finding the correct disk in Gparted, turn you attention to either the image of the disk or list of partitions below. Right-click sda5 and choose "resize or move"
- Now enter 4096 in "Free space following: (MiB)" (3rd field).
- Click the resize button and wait.
- When done, right-click the unallocated space and choose "New partition". Select the filesystem as "linux-swap" in the "Filesystem" (3rd down) drop-down menu and click the create button. Wait for it to do it's thing.
- It should automaticall use all that free space
- Any re-partitioning will affect the UUID of the current sda5 partition. Use the blkid command after partitioning to get the UUIDs of the resized sda5 and swap.
- Now add the swap partition to fstab and correct the UUID for sda5. Use sudo nano /etc/fstab to edit fstab.
- Add a swap entry to fstab:
Code:
UUID=<your swap UUID from blkid's output> none            swap    sw              0       0
- Correct the UUID for / by finding the following entry ("ext4" part may be different, prolly not):
Code:
UUID=<your old sda5 UUID> /               ext4    errors=remount-ro 0       1
and correcting it to
Code:
UUID=<your sda5 UUID from blkid's output> /               ext4    errors=remount-ro 0       1
Note: only change UUID's value for sda5
- Save with Ctrl+o and exit with Ctrl+x .
- Reboot into you system and hope you didn't derp it.




So unless there's some kind of safeguard in place, it sounds like maybe I should hold off for now. If/when I do try this and things go wrong, I guess that can be a separate thread (written from, yes, another device!).
You can use the AntiX live CD as a portable OS and it has persistence. Learn about AntiX:
Sites: https://antixlinux.com
Forums: https://www.antixforum.com/
So WCS, you have to run from a flashdrive. At least no freezes. You'll have full access to your data and you'll have plenty time to mess with your Mint install, though I suggest installing AntiX over Mint eventually based on you hardware.
 
Last edited:
OP
J

js10

Member
Joined
Oct 21, 2021
Messages
43
Reaction score
8
Credits
577
Okay, I know I've been putting it off for a few weeks -- not that there's a good time for my system to become totally nonfunctional, but at least I got some things out of the way first -- but I'm going to attempt the updates a bit later this evening. Just to be clear, before I do, this process is completely irreversible, correct? That is, even if something just like Chrome/Chromium doesn't function correctly anymore, there will be no way of going back to the old version?

Oh, by the way, I wasn't going to bring this up in a separate post because I'm assuming that I would just be told to do the update, and rightly so, but it turns out the hardware acceleration step didn't work after all. as I did experience anything freeze from which there was no return. This time, a few days ago, was another variation I've seen, in which when I move the mouse around, it's stuck in the little hand icon (I guess it's called "drag mode," as you see in pdf's) and not the arrow, so absolutely nothing is clickable. This doesn't tell you anything new, does it?
 
OP
J

js10

Member
Joined
Oct 21, 2021
Messages
43
Reaction score
8
Credits
577
There is another way to update...

click on menu
type in Update......click on update manager

click on Refresh...(up top of that window)

when it has fin9shed listing the updates availabel......click ion install updates (beside refresh), enter your password.......and sit back

If it asks to install extras, click on yes.

Condobloke, I just tried doing it this way (see my last post explaining that I've been stalling with this a bit), but when I click Refresh, after a few seconds, I get an error message. It's a lot of output, but there was a "the following details are provided" box, and I thought I should probably paste it here:

W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:2
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:2
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:2
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:2
W: Target DEP-11 (main/dep11/Components-i386.yml) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:2
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:2
W: Target CNF (main/cnf/Commands-i386) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:2
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:2
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:3
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:3
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:3
W: Target DEP-11 (main/dep11/Components-i386.yml) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:3
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:3
W: Target CNF (main/cnf/Commands-i386) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:3
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:3
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:4
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:4
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:4
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:4
W: Target DEP-11 (main/dep11/Components-i386.yml) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:4
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:4
W: Target CNF (main/cnf/Commands-i386) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:4
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:4
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:5
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:5
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:5
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:5
W: Target DEP-11 (main/dep11/Components-i386.yml) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:5
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:5
W: Target CNF (main/cnf/Commands-i386) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:5
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:5
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:6
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:6
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:6
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:6
W: Target DEP-11 (main/dep11/Components-i386.yml) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:6
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:6
W: Target CNF (main/cnf/Commands-i386) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:6
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:6
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:7
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:7
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:7
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:7
W: Target DEP-11 (main/dep11/Components-i386.yml) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:7
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:7
W: Target CNF (main/cnf/Commands-i386) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:7
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:7
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:8
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:8
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:8
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:8
W: Target DEP-11 (main/dep11/Components-i386.yml) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:8
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:8
W: Target CNF (main/cnf/Commands-i386) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:8
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:8
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:9
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:9
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:9
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:9
W: Target DEP-11 (main/dep11/Components-i386.yml) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:9
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:9
W: Target CNF (main/cnf/Commands-i386) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:9
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:9
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:10
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:10
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:10
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:10
W: Target DEP-11 (main/dep11/Components-i386.yml) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:10
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:10
W: Target CNF (main/cnf/Commands-i386) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:10
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/additional-repositories.list:10
 

Condobloke

Well-Known Member
Joined
Apr 30, 2017
Messages
3,968
Reaction score
3,565
Credits
20,336

KGIII

Super Moderator
Staff member
Gold Supporter
Joined
Jul 23, 2020
Messages
4,558
Reaction score
4,222
Credits
36,574
This time, a few days ago, was another variation I've seen, in which when I move the mouse around, it's stuck in the little hand icon (I guess it's called "drag mode," as you see in pdf's) and not the arrow, so absolutely nothing is clickable.

That doesn't sound like a 'freeze', so much as it's stuck in the drag n drop mode. For that, I have no idea. When it next reaches that position, press CTRL ALT T to see if a terminal window opens.
 
OP
J

js10

Member
Joined
Oct 21, 2021
Messages
43
Reaction score
8
Credits
577
Okay, so as I somewhat expected, already hitting some snags with this target packages deletion process. Trying to follow that page you linked to, when I pasted the first command listed there (/etc/apt/sources.list.d/additional-repositories.list) into the terminal, I get a message saying ~$ /etc/apt/sources.list.d/additional-repositories.list
bash: /etc/apt/sources.list.d/additional-repositories.list: Permission denied .

Still, I kept going and pasted this command as well: cat /etc/apt/sources.list.d/additional-repositories.list , and get this output:

deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main
deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main
deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main
deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main
deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main
deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main
deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main
deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main
deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main
deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main

This looks identical to what's on that other page (except there are more of them).

Then, when I try the last command written there, I get a screen with those same files listed, but I have no idea what to do with it -- it's not like anything I think I've seen before in the terminal.

So, it looks like I won't be updating today after all (as it's almost midnight here). Have to get this sorted out first!
 

Condobloke

Well-Known Member
Joined
Apr 30, 2017
Messages
3,968
Reaction score
3,565
Credits
20,336
Permission is denied because you are not running as root

----------------------------------------------------------------------------------------

Re: W: Target Packages configured multiple times

Post by karlchen » Tue Aug 14, 2018 4:03 am

Hello, sethrewha.

On Linux Mint, you can use the application "Software Sources" in order to delete one of the 2 entries from "additional-repositories".

Alternative approach, using a text editor with root permissions:
You can execute the commandline
CODE: SELECT ALL
sudoedit /etc/apt/sources.list.d/additional-repositories.list
in order to edit the file with root permissions and to delete the duplicated line.

--------------------------------------------------------------------------------

Hello, sethrewha.

On Linux Mint, you can use the application "Software Sources" in order to delete one of the 2 entries all of the entries from "additional-repositories".

The entries are a result of using WINE....whether that is current or not it doesnt matter......if it is current then just leave ONE of the entries

Click on menu...type in software sources....click on 'additional repositories'.....and delete the unnecessary. If wine is not in use ....
delete the lot of them.
-------------------------------------------


Alternative approach, using a text editor with root permissions:
You can execute the commandline
CODE: SELECT ALL
sudoedit /etc/apt/sources.list.d/additional-repositories.list
in order to edit the file with root permissions and to delete the duplicated line.
 

Condobloke

Well-Known Member
Joined
Apr 30, 2017
Messages
3,968
Reaction score
3,565
Credits
20,336
When that finishes, it may ask you to update software sources etc (message at bottom of screen)

click on ok/yes.

Then set in motion Update
 
OP
J

js10

Member
Joined
Oct 21, 2021
Messages
43
Reaction score
8
Credits
577
Okay, so I guess THAT part (the duplicates) worked, because when I go back to the update manager now and click on Refresh, I no longer get that error message. Before I proceed, though (especially given the stakes!), two things:

1. I get a "do you want to switch to a local mirror" question. Should I?

2. There are only two updates in this list! It's just mintupdate and mint-upgrade-info . For all the talk about how long it's been and how there will therefore likely be many updates necessary, does this make any sense?
 

Condobloke

Well-Known Member
Joined
Apr 30, 2017
Messages
3,968
Reaction score
3,565
Credits
20,336
Click on NO. We may update it later if the updates are too slow

There may be more updates AFTER it has updated both of those.
 

brickwizard

Well-Known Member
Joined
Apr 28, 2021
Messages
1,549
Reaction score
1,156
Credits
11,598
mintupdate and mint-upgrade-info .
Mint update is the application run by the update manager, and if often followed with further updates, mint upgrade info, may mean there is a kernel upgrade or a systems upgrade [say 20.1 to 20.2]
 
OP
J

js10

Member
Joined
Oct 21, 2021
Messages
43
Reaction score
8
Credits
577
Okay, I seriously hope someone is available now. This is not looking good. I walked away for a few minutes during the process, and when I got back, all I saw was an almost completely black screen except for a little white cursor at the very top-left. I manually rebooted, selected Linux (remember, I'm dual booting), and for a few seconds I was hopeful as the greenish Linux logo did appear on the screen with a few flashing dots under it, but then rather than loading as usual, it reverted to that black screen with the cursor at the top-left.

Is there ANYTHING I can do to recover my system? If there's one thing of note I should add, it's that when I rebooted, a new option appeared that I don't remember seeing before. When I selected it, two more came up -- Ubuntu with Linux 4.15.0-20-generic and then the same thing with "(recovery mode) at the end. Could that do anything? Thank you.

PS. I'm writing now on an old laptop, but that's of limited use.
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Members online


Top