You are not logged in.
I realize this is a basic syntax question, but I'm running into so many problems with my new laptop, I need a break. In /etc/apt/sources.list, how do I change the first line to use a USB flash drive instead of a CD/DVD?
deb cdrom:[Devuan ...
Offline
What for? Your approach isn't useful. Delete that line(s) and you're done.
rolfie
Offline
Or comment it out with #
Offline
I have no Internet connectivity (installation was done solely via the USB flash drive), so I need to install Reaktek drivers manually (I got the .deb from MX Linux: http://mxrepo.com/mx/repo/pool/main/r/rtl8821ce/). But first I need to install some things from the USB flash drive I used for installation because Devuan puked when I tried to install the .deb.
sudo dpkg -i Downloads/rtl8821ce-dkms_5.5.2.1-7~mx21+1_all.deb
(Reading database ... 190461 files and directories currently installed.)
Preparing to unpack .../rtl8821ce-dkms_5.5.2.1-7~mx21+1_all.deb ...
Unpacking rtl8821ce-dkms (5.5.2.1-7~mx21+1) over (5.5.2.1-7~mx21+1) ...
dpkg: dependency problems prevent configuration of rtl8821ce-dkms:
rtl8821ce-dkms depends on dkms (>= 2.1.0.0); however:
Package dkms is not installed.
dpkg: error processing package rtl8821ce-dkms (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
rtl8821ce-dkms
P.S. I know how to use vi and understand the concept of comments, as I used Unix a million years ago.
Last edited by nobodyuknow (2021-11-04 22:35:45)
Offline
Search the Debian forums, I answered this question there a while ago.
Brianna Ghey — Rest In Power
Offline
I found an apt trick...
mount your flash-drive, I just use the kde5/plasma system to allow me to click and mount, it came up as
/media/glenn/Devuan 4.0/ (this is using chimaera amd64)
Then as root... apt-cdrom add --cdrom=(your storage-device)
apt-cdrom add --cdrom=/media/glenn/'Devuan 4.0'
this was the lookup...
root@GamesBox:~# apt-cdrom add --cdrom=/media/glenn/'Devuan 4.0'
Using CD-ROM mount point /media/glenn/Devuan 4.0/
Unmounting CD-ROM...
Waiting for disc...
Please insert a Disc in the drive and press [Enter]
Mounting CD-ROM...
Identifying... [8755f8ac762318d8e051b05a3c78c1e6-2]
Scanning disc for index files...
Found 3 package indexes, 0 source indexes, 0 translation indexes and 0 signatures
Found label 'Devuan GNU/Linux 4.0 chimaera amd64 - desktop 20211012'
This disc is called:
'Devuan GNU/Linux 4.0 chimaera amd64 - desktop 20211012'
Reading Package Indexes... Done
Writing new source list
Source list entries for this disc are:
deb cdrom:[Devuan GNU/Linux 4.0 chimaera amd64 - desktop 20211012]/ chimaera contrib main non-free
Unmounting CD-ROM...
Repeat this process for the rest of the CDs in your set.
root@GamesBox:~#
This line was added to my /etc/apt/sources.list
deb cdrom:[Devuan GNU/Linux 4.0 chimaera amd64 - desktop 20211012]/ chimaera contrib main non-free
I got errors with 'apt update', and synaptic (gui) only shows installed packages.
root@GamesBox:~# apt update
Ign:1 cdrom://[Devuan GNU/Linux 4.0 chimaera amd64 - desktop 20211012] chimaera InRelease
Err:2 cdrom://[Devuan GNU/Linux 4.0 chimaera amd64 - desktop 20211012] chimaera Release
Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Hit:3 https://repo.steampowered.com/steam stable InRelease
Hit:4 https://packages.cisofy.com/community/lynis/deb stable InRelease
Reading package lists... Done
E: The repository 'cdrom://[Devuan GNU/Linux 4.0 chimaera amd64 - desktop 20211012] chimaera Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
root@GamesBox:~#
I went back and re-ran the apt-cdrom add command without resetting anything and
now synaptic shows all packages. :-)
I'm glad you asked this question because I gave up trying to get the memory stick to be an post-install repo.
ref link... https://itectec.com/ubuntu/ubuntu-how-t … a-offline/
I hope this helps
Last edited by GlennW (2021-11-05 06:35:03)
pic from 1993, new guitar day.
Offline
I finally bought a small pack of DVD-R discs and burned Devuan 4.0 on it. I was able to install the prerequisites for the Realtek driver, the Realtek driver, firmware-amd-graphics, and then the usual updates. Thanks to everyone for saving me from installing Windows.
Offline