You are Here:
Download Linux Lite 5.6 Final today - See Release Announcements



X Close Ad
X Close Ad
[ SOLVED ] Can Linux Lite be updated when using persistent live USB version?

Author (Read 1714 times)

0 Members and 2 Guests are viewing this topic.

 

musicismylife

  • New to Forums
  • *
  • 12
    Posts
  • Country: us
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 5.4 64bit

  • MEMORY: 4Gb
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.linuxliteos.com/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(R) Pentium(R) [email protected]
GPU: Intel(R) Graphics
Drive Type: HDD
Drive size: 500GB
RAM: 4GB
OS: Windows 10
Last Edit: September 22, 2021, 03:50:08 PM by musicismylife
 


Re: Can Linux Lite be updated when using persistent live USB version?
« Reply #1 on: August 08, 2021, 02:46:00 PM »
 

musicismylife

  • New to Forums
  • *
  • 12
    Posts
  • Country: us
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 5.4 64bit

  • MEMORY: 4Gb
Sorry, created a duplicate post by accident.
Last Edit: August 08, 2021, 02:47:38 PM by musicismylife
 

Re: Can Linux Lite be updated when using persistent live USB version?
« Reply #2 on: August 08, 2021, 07:25:48 PM »
 

Moltke

  • Platinum Level Poster
  • **********
  • 1056
    Posts
  • Country: ve
  • Reputation: 120
  • Linux Lite Member

  • Linux Lite: 5.0 64bit

  • CPU: amd athlon 64 x2

  • MEMORY: 4Gb

  • VIDEO CARD: amd radeon hd 6750

  • Kernel: 5.x
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: [Select]
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! :)
Last Edit: August 08, 2021, 07:29:10 PM by Moltke
Without each others help there ain't no hope for us :)
Need a translation service? https://www.deepl.com/es/translator
 

Re: Can Linux Lite be updated when using persistent live USB version?
« Reply #3 on: August 11, 2021, 04:30:01 PM »
 

musicismylife

  • New to Forums
  • *
  • 12
    Posts
  • Country: us
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 5.4 64bit

  • MEMORY: 4Gb
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: [Select]
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! :)


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.)


Last Edit: August 11, 2021, 04:43:21 PM by musicismylife
 

Re: Can Linux Lite be updated when using persistent live USB version?
« Reply #4 on: August 11, 2021, 07:38:41 PM »
 

Moltke

  • Platinum Level Poster
  • **********
  • 1056
    Posts
  • Country: ve
  • Reputation: 120
  • Linux Lite Member

  • Linux Lite: 5.0 64bit

  • CPU: amd athlon 64 x2

  • MEMORY: 4Gb

  • VIDEO CARD: amd radeon hd 6750

  • Kernel: 5.x
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: [Select]
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! :)


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.)




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

Re: Can Linux Lite be updated when using persistent live USB version?
« Reply #5 on: August 11, 2021, 09:12:19 PM »
 

musicismylife

  • New to Forums
  • *
  • 12
    Posts
  • Country: us
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 5.4 64bit

  • MEMORY: 4Gb
Quote
What do you mean you "didn't set up any password for LL"? Try this https://www.linuxliteos.com/manual/software.html#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. 
Last Edit: August 11, 2021, 09:34:30 PM by musicismylife
 

Re: Can Linux Lite be updated when using persistent live USB version?
« Reply #6 on: August 11, 2021, 09:32:47 PM »
 

musicismylife

  • New to Forums
  • *
  • 12
    Posts
  • Country: us
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 5.4 64bit

  • MEMORY: 4Gb
*****
 

Re: Can Linux Lite be updated when using persistent live USB version?
« Reply #7 on: August 13, 2021, 09:47:01 AM »
 

Moltke

  • Platinum Level Poster
  • **********
  • 1056
    Posts
  • Country: ve
  • Reputation: 120
  • Linux Lite Member

  • Linux Lite: 5.0 64bit

  • CPU: amd athlon 64 x2

  • MEMORY: 4Gb

  • VIDEO CARD: amd radeon hd 6750

  • Kernel: 5.x
Quote
What do you mean you "didn't set up any password for LL"? Try this https://www.linuxliteos.com/manual/software.html#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.linuxliteos.com/manual/tutorials.html#usbpers
Without each others help there ain't no hope for us :)
Need a translation service? https://www.deepl.com/es/translator
 

Re: Can Linux Lite be updated when using persistent live USB version?
« Reply #8 on: August 14, 2021, 07:29:30 AM »
 

musicismylife

  • New to Forums
  • *
  • 12
    Posts
  • Country: us
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 5.4 64bit

  • MEMORY: 4Gb
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.linuxliteos.com/manual/tutorials.html#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/

 

Re: Can Linux Lite be updated when using persistent live USB version?
« Reply #9 on: August 23, 2021, 10:05:56 PM »
 

Moltke

  • Platinum Level Poster
  • **********
  • 1056
    Posts
  • Country: ve
  • Reputation: 120
  • Linux Lite Member

  • Linux Lite: 5.0 64bit

  • CPU: amd athlon 64 x2

  • MEMORY: 4Gb

  • VIDEO CARD: amd radeon hd 6750

  • Kernel: 5.x
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.linuxliteos.com/manual/tutorials.html#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/

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



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





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





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. :)
Without each others help there ain't no hope for us :)
Need a translation service? https://www.deepl.com/es/translator
 

Re: Can Linux Lite be updated when using persistent live USB version?
« Reply #10 on: August 24, 2021, 08:10:50 AM »
 

musicismylife

  • New to Forums
  • *
  • 12
    Posts
  • Country: us
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 5.4 64bit

  • MEMORY: 4Gb
Hey Moltke!  Thank you.  Actually the USB with LL on it died completely and has become inaccessible.  I'm going to buy a couple more USB drives and update you after I work the steps you've provided.
 

Re: Can Linux Lite be updated when using persistent live USB version?
« Reply #11 on: September 19, 2021, 11:59:39 AM »
 

musicismylife

  • New to Forums
  • *
  • 12
    Posts
  • Country: us
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 5.4 64bit

  • MEMORY: 4Gb
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
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
4. Launch Linux Lite Terminal and type
Code: [Select]
sudo apt update and hit Enter, once that's finished type
Code: [Select]
sudo apt upgrade and hit Enter again.

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. :)


Hello again. I tried the first method you suggested and that has fixed the problem.  I must repeat the process every time I want to install updates (uncheck cdrom as it keeps being re-checked) but now I can do and have done updates.  And will be able to keep doing them.

So far, so good.  I'll keep the second method in mind too (have a second USB drive, just in case.) 

Thanks again for the help!
Last Edit: September 19, 2021, 02:20:19 PM by musicismylife
 

Re: Can Linux Lite be updated when using persistent live USB version?
« Reply #12 on: September 19, 2021, 05:24:24 PM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8178
    Posts
  • Country: nz
  • Reputation: 761
  • Linux Lite Member
    • Linux Lite OS

  • Linux Lite: 5.6 64bit

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
The correct, reliable method is to use the Tutorial we already provide in the Help Manual under USB Persistence.

Sent from my mobile phone using Tapatalk

 


 

X Close Ad
X Close Ad

Download Linux Lite 5.6 Final today - See Release Announcements