Software - Support > Installing Software

Can Linux Lite be updated when using persistent live USB version?

(1/3) > >>

musicismylife:
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

musicismylife:
Sorry, created a duplicate post by accident.

Moltke:

--- Quote from: musicismylife on August 08, 2021, 02:42:49 PM ---Is is not possible to do updates while using LL in this way?

--- End quote ---

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
--- End code ---
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! :)

musicismylife:

--- Quote from: Moltke on August 08, 2021, 07:25:48 PM ---
--- Quote from: musicismylife on August 08, 2021, 02:42:49 PM ---Is is not possible to do updates while using LL in this way?

--- End quote ---

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
--- End code ---
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! :)

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


Moltke:

--- Quote from: musicismylife on August 11, 2021, 04:30:01 PM ---
--- Quote from: Moltke on August 08, 2021, 07:25:48 PM ---
--- Quote from: musicismylife on August 08, 2021, 02:42:49 PM ---Is is not possible to do updates while using LL in this way?

--- End quote ---

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
--- End code ---
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! :)

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




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

Navigation

[0] Message Index

[#] Next page

Go to full version