LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can Linux Lite be updated when using persistent live USB version?
#1
I'm very new to Linux. I don't want to install it to replace Windows on my laptop.  For my laptop it won't allow for installing LL as an additional OS.

I've been operating LL on persistent live USB for several months but have not been able to do any updates to any components.  I get the error message below.  Is is not possible to do updates while using LL in this way?


===========================
Install Updates Error log
===========================
Install Updates could not fetch the package cache information lists.
Go to https://www.freecinema2022.gq/forums/ and paste the log below into a new or existing thread for assistance.

============ Log ===========

Ign:1 cdrom://Linux Lite 5.4 - Release amd64 dists/ InRelease
Ign:2 cdrom://Linux 20.04 - Release amd64 dists/ InRelease
Err:3 cdrom://Linux Lite 5.4 - Release amd64 dists/ Release
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Err:4 cdrom://Linux 20.04 - Release amd64 dists/ Release
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Ign:5 http://linux.dropbox.com/ubuntu disco InRelease
Hit:6 http://archive.canonical.com/ubuntu focal InRelease
Hit:7 http://linux.dropbox.com/ubuntu disco Release
Hit:8 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:9 http://repo.linuxliteos.com/linuxlite emerald InRelease
Hit:10 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:12 http://archive.linux.duke.edu/ubuntu focal InRelease
Hit:13 http://archive.linux.duke.edu/ubuntu focal-security InRelease
Hit:14 http://archive.linux.duke.edu/ubuntu focal-updates InRelease
Reading package lists...
E: The repository 'cdrom://Linux Lite 5.4 - Release amd64 dists/ Release' does not have a Release file.
E: The repository 'cdrom://Linux 20.04 - Release amd64 dists/ Release' does not have a Release file.


Here are my laptop's specs:
Laptop Model:  Dell Inspiron 11-3168
CPU: Intel® Pentium® [email protected]
GPU: Intel® Graphics
Drive Type: HDD
Drive size: 500GB
RAM: 4GB
OS: Windows 10
Reply
#2
Sorry, created a duplicate post by accident.
Reply
#3
(08-08-2021, 06:42 PM)musicismylife link Wrote: Is is not possible to do updates while using LL in this way?

Yes, it is. You need to edit the sources.list file, and remove these lines cdrom://Linux Lite 5.4 - Release amd64 dists/ InRelease and cdrom://Linux 20.04 - Release amd64 dists/ Release as those are preventing the system to be updated.
1. Launch xfce4-terminal.
2. Type
Code:
sudo nano /etc/apt/sources.list.d/linuxlite.list
press Enter, type in your password when asked, and hit Enter again.
3. Once the file is open to edit, locate and remove the lines cdrom://Linux Lite 5.4 - Release amd64 dists/ InRelease and cdrom://Linux 20.04 - Release amd64 dists/ Release
4. To save your changes, press Ctrl + o and hit Enter
5. To close the editor nano, press Ctrl + x and hit Enter
6. Try updating Linux Lite again, it should work this time.

Keep in mind one thing though, while using any Linux distro in persistent mode, the kernel can't be upgraded, other components can and will, but not the kernel. This is because the kernel needs to make a few modifications to the system, which can't be made while in persistence mode.

Hope this helps! Smile
Without each others help there ain't no hope for us Smile
Need a translation service? https://www.deepl.com/es/translator
Reply
#4
(08-08-2021, 11:25 PM)Moltke link Wrote: [quote author=musicismylife link=topic=8243.msg56414#msg56414 date=1628448169]
Is is not possible to do updates while using LL in this way?

Yes, it is. You need to edit the sources.list file, and remove these lines cdrom://Linux Lite 5.4 - Release amd64 dists/ InRelease and cdrom://Linux 20.04 - Release amd64 dists/ Release as those are preventing the system to be updated.
1. Launch xfce4-terminal.
2. Type
Code:
sudo nano /etc/apt/sources.list.d/linuxlite.list
press Enter, type in your password when asked, and hit Enter again.
3. Once the file is open to edit, locate and remove the lines cdrom://Linux Lite 5.4 - Release amd64 dists/ InRelease and cdrom://Linux 20.04 - Release amd64 dists/ Release
4. To save your changes, press Ctrl + o and hit Enter
5. To close the editor nano, press Ctrl + x and hit Enter
6. Try updating Linux Lite again, it should work this time.

Keep in mind one thing though, while using any Linux distro in persistent mode, the kernel can't be upgraded, other components can and will, but not the kernel. This is because the kernel needs to make a few modifications to the system, which can't be made while in persistence mode.

Hope this helps! Smile
[/quote]


Thanks for the reply.  I just tried this today and after entering the command, this is what happened next in terminal and I couldn't enter anything after this:

GNU nano 4.8
deb http://repo.linuxliteos.com/linuxlite/ emerald main


Confused what to do next.  Also, I didn't set up any password for LL, unless the one you mean that I have to enter when I try to run certain programs (like a browser.)


Reply
#5
(08-11-2021, 08:30 PM)musicismylife link Wrote: [quote author=Moltke link=topic=8243.msg56418#msg56418 date=1628465148]
[quote author=musicismylife link=topic=8243.msg56414#msg56414 date=1628448169]
Is is not possible to do updates while using LL in this way?

Yes, it is. You need to edit the sources.list file, and remove these lines cdrom://Linux Lite 5.4 - Release amd64 dists/ InRelease and cdrom://Linux 20.04 - Release amd64 dists/ Release as those are preventing the system to be updated.
1. Launch xfce4-terminal.
2. Type
Code:
sudo nano /etc/apt/sources.list.d/linuxlite.list
press Enter, type in your password when asked, and hit Enter again.
3. Once the file is open to edit, locate and remove the lines cdrom://Linux Lite 5.4 - Release amd64 dists/ InRelease and cdrom://Linux 20.04 - Release amd64 dists/ Release
4. To save your changes, press Ctrl + o and hit Enter
5. To close the editor nano, press Ctrl + x and hit Enter
6. Try updating Linux Lite again, it should work this time.

Keep in mind one thing though, while using any Linux distro in persistent mode, the kernel can't be upgraded, other components can and will, but not the kernel. This is because the kernel needs to make a few modifications to the system, which can't be made while in persistence mode.

Hope this helps! Smile
[/quote]


Thanks for the reply.  I just tried this today and after entering the command, this is what happened next in terminal and I couldn't enter anything after this:

GNU nano 4.8
deb http://repo.linuxliteos.com/linuxlite/ emerald main


Confused what to do next.  Also, I didn't set up any password for LL, unless the one you mean that I have to enter when I try to run certain programs (like a browser.)



[/quote]

What do you mean you "didn't set up any password for LL"? Try this https://www.freecinema2022.gq/manual/softw...ml#updates and see if that helps, however, you still need a password.
Without each others help there ain't no hope for us Smile
Need a translation service? https://www.deepl.com/es/translator
Reply
#6
Quote:What do you mean you "didn't set up any password for LL"? Try this https://www.freecinema2022.gq/manual/softw...ml#updates and see if that helps, however, you still need a password.


The only password I was ever required to set up is a password to access apps that are considered restricted on LL which (so far) all it's been is when I try to use Google Chrome.  Doesn't happen when I use Firefox in LL.  I don't use a password to log into LL via the USB.  I was never asked to create a login or administrator password for it.

I read that part of the LL manual, thanks.  The linked info you referenced is exactly how I have been trying to do the updates.  In my original post on this thread I posted the results of when I try to do the updates, which you've been trying to help me figure out why it doesn't work. 
Reply
#7
*****
Reply
#8
(08-12-2021, 01:12 AM)musicismylife link Wrote:
Quote:What do you mean you "didn't set up any password for LL"? Try this https://www.freecinema2022.gq/manual/softw...ml#updates and see if that helps, however, you still need a password.


The only password I was ever required to set up is a password to access apps that are considered restricted on LL which (so far) all it's been is when I try to use Google Chrome.  Doesn't happen when I use Firefox in LL.  I don't use a password to log into LL via the USB.  I was never asked to create a login or administrator password for it.

I read that part of the LL manual, thanks.  The linked info you referenced is exactly how I have been trying to do the updates.  In my original post on this thread I posted the results of when I try to do the updates, which you've been trying to help me figure out why it doesn't work.

Ok. I should've asked this before, but how did you create Linux Lite's live USB with persistence? Did you follow the help's instructions? https://www.freecinema2022.gq/manual/tutor...ml#usbpers
Without each others help there ain't no hope for us Smile
Need a translation service? https://www.deepl.com/es/translator
Reply
#9
(08-13-2021, 01:47 PM)Moltke link Wrote: Ok. I should've asked this before, but how did you create Linux Lite's live USB with persistence? Did you follow the help's instructions? https://www.freecinema2022.gq/manual/tutor...ml#usbpers

I used the program Rufus.  First I created a non-persistent USB.  Then I realized I had made a mistake and went back and created a persistent USB which has kept all the settings I've done to LL since and also stored photos and files I wanted.  It  just won't allow me to do any updates. LL is on a spare 32GB USB drive I had. So there's plenty of room on it.

https://rufus.ie/en/

Reply
#10
(08-14-2021, 11:29 AM)musicismylife link Wrote: [quote author=Moltke link=topic=8243.msg56463#msg56463 date=1628862421]
Ok. I should've asked this before, but how did you create Linux Lite's live USB with persistence? Did you follow the help's instructions? https://www.freecinema2022.gq/manual/tutor...ml#usbpers

I used the program Rufus.  First I created a non-persistent USB.  Then I realized I had made a mistake and went back and created a persistent USB which has kept all the settings I've done to LL since and also stored photos and files I wanted.  It  just won't allow me to do any updates. LL is on a spare 32GB USB drive I had. So there's plenty of room on it.

https://rufus.ie/en/
[/quote]

Ok. I created a Linux Lite Live USB with persistence using rufus, and was able to update & upgrade, tho I did have one problem, but it's beyond my control.
This is what you need to do:
1. Boot up your Linux Lite persistent Live USB.
2. Click on menu, and in the search bar, type drive, the tool should appear as you do

[Image: ksnip-20210823-095612.png]

3. Click on the tool to start it, once it's started, click on other software tab, and untick the 2 boxes that read cdrom, then click on close

[Image: ksnip-20210823-095720.png]

[Image: ksnip-20210823-095801.png]

4. Launch Linux Lite Terminal and type
Code:
sudo apt update
and hit Enter, once that's finished type
Code:
sudo apt upgrade
and hit Enter again.

[Image: ksnip-20210823-100301.png]

[Image: ksnip-20210823-162220.png]

As you can see in pics above, there were no errors about cdrom, and the system did upgrade. However, you might have noticed as well the other errors about some mirrors out-of-sync, well I can't do anything about it but try later, so if you do encounter the same, just try later. By the way, you could install Linux Lite in the USB too, just burn/write the ISO to another USB stick, boot it up, and when installing select the  spare 32GB USB drive as the destination, that's it. Smile
Without each others help there ain't no hope for us Smile
Need a translation service? https://www.deepl.com/es/translator
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)