Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
How to Install DI/GUI from removable Media
How to Install DI/GUI from removable Media
Greetings.
I've been looking all over the place for this KDE Plasma download, and I finally found it (be careful, it's an automatic download.) I loaded it on a USB stick and I want to install it on my Debian OS (I'm using Bullseye.)
No, I can't use the APT, because I can't connect my system to the internet.
I've checked the KDE forums for how to install, but they told me that they can't really offer support for this because it's more of a Debian-related issue than a KDE one, since they're not the ones distributing OS-specific DI packages.
Thanks in advance!
I've been looking all over the place for this KDE Plasma download, and I finally found it (be careful, it's an automatic download.) I loaded it on a USB stick and I want to install it on my Debian OS (I'm using Bullseye.)
No, I can't use the APT, because I can't connect my system to the internet.
I've checked the KDE forums for how to install, but they told me that they can't really offer support for this because it's more of a Debian-related issue than a KDE one, since they're not the ones distributing OS-specific DI packages.
Thanks in advance!
- canci
- Global Moderator
- Posts: 2502
- Joined: 2006-09-24 11:28
- Has thanked: 136 times
- Been thanked: 136 times
Re: How to Install DI/GUI from removable Media
That's going to be very difficult, since you would have to install every package that plasma desktop depends on. But those are probably 50 packages or so.
If Internet is an issue and you have a DVD drive, why not order a full set of DVDs with Debian. I'm sure if you order the first 3 or 4 DVDs, they should have most KDE packages in there.
You can search for local vendors in your country or region. Linux User Groups usually sell those or can even burn them for you for free if you ask nicely.
If Internet is an issue and you have a DVD drive, why not order a full set of DVDs with Debian. I'm sure if you order the first 3 or 4 DVDs, they should have most KDE packages in there.
You can search for local vendors in your country or region. Linux User Groups usually sell those or can even burn them for you for free if you ask nicely.
Stable / Asus VivoBook X421DA / AMD Ryzen 7 3700U / Radeon Vega Mobile Gfx (Picasso) / 8 GB RAM / 512GB NVMe
READ THIS:
* How to Post a Thread Here
* Other Tips and Great Resources
READ THIS:
* How to Post a Thread Here
* Other Tips and Great Resources
Re: How to Install DI/GUI from removable Media
Thank you for the great suggestion.canci wrote: ↑2021-12-03 15:34 If Internet is an issue and you have a DVD drive, why not order a full set of DVDs with Debian. I'm sure if you order the first 3 or 4 DVDs, they should have most KDE packages in there.
You can search for local vendors in your country or region. Linux User Groups usually sell those or can even burn them for you for free if you ask nicely.
Unfortunately the Linux user group nearest to my place is eight hours away. Additionally, I don't have a credit card or anything that could allow me to pay other than cash (still a youngster), so ordering those DVDs is impossible to me, as far as I know.
Thank you for that. Sounds cool. I hit apt-cdrom as root and got a bunch of instructions. It says I can use "add" to add a CDROM. I'm assuming it also works for a USB disk. So I mounted my USB drive in
Code: Select all
/media/usb-drive
Code: Select all
apt-cdrom add /dev/sdc1 (my USB drive with the .DEB package I want to install on it)
Code: Select all
Using CD-ROM mount point /media/cdrom/
Unmounting DC-ROM...
Waiting for disc...
Please insert a Disc in the drive and press [Enter]
Any suggestions? I've been messing around with it for some time now, based on instructions I found on multiple forums and wikis, but nothing works for me, up to now.
Thank you so much again for your answers. It's really appreciated.
-
- Posts: 1405
- Joined: 2009-09-10 20:15
- Location: Saint-Petersburg, Russian Federation
- Been thanked: 11 times
Re: How to Install DI/GUI from removable Media
You can use all iso like repositories simultaneously. Each iso mount to its directory and in /etc/apt place
string for each directory like for the ordinary repository.
But it will not work for iso which is not made like repository. In this case you can for this iso build
the local repository on disk, far example with reprepro.
Peter.
string for each directory like for the ordinary repository.
But it will not work for iso which is not made like repository. In this case you can for this iso build
the local repository on disk, far example with reprepro.
Peter.
Re: How to Install DI/GUI from removable Media
There is some description here
https://techpiezo.com/linux/use-iso-ima ... in-ubuntu/
With this method you don't need usb drive at all, you just mount image and then use apt-cdrom on it.
You can download live version of KDE from here
https://cdimage.debian.org/debian-cd/cu ... so-hybrid/
I hope it will work if you mount that iso, and use apt-cdrom on it as described. I have never done it my self, but saw if being mentioned few times. Good luck mate.
https://techpiezo.com/linux/use-iso-ima ... in-ubuntu/
With this method you don't need usb drive at all, you just mount image and then use apt-cdrom on it.
You can download live version of KDE from here
https://cdimage.debian.org/debian-cd/cu ... so-hybrid/
I hope it will work if you mount that iso, and use apt-cdrom on it as described. I have never done it my self, but saw if being mentioned few times. Good luck mate.
Re: How to Install DI/GUI from removable Media
Thank you so much for taking the time to answer my questions.
By reading the instructions you gave me and a thousand different man pages, I finally got it working. I added my DVD to the APT and ran the following:
After a few security issues (indeed apt-secure was giving me a bit of trouble), I managed to install just what I needed!
Now the only thing left for me to do is to make the KDE Plasma desktop load by default on boot. Right now I still see that nerdy black screen with white text on it. I don't know whether to call it a terminal, because my Linux knowledge and vocabulary are not quite developed yet.
So... Apparently the thing that is responsible for starting the KDE Plasma desktop interface upon boot is KDM, or something like that. I could not find it, so I did
And it outputed
I'm assuming that means the system didn't find it. I also heard that startx does about the same thing as KDE, but I could not find that either, and I don't know what the difference between the two is.
What do I do from here?
Thanks again, and have a nice one!
Yeah, I had tried with a USB, but that shattered my brain in a thousand pieces. Apparently it's a very complicated method, so I decided to burn the ISO you pointed me to (thank you!) on a DVD. I'll try again with a USB in the future, just for fun.
By reading the instructions you gave me and a thousand different man pages, I finally got it working. I added my DVD to the APT and ran the following:
Code: Select all
apt-get install kde-plasma-desktop
Now the only thing left for me to do is to make the KDE Plasma desktop load by default on boot. Right now I still see that nerdy black screen with white text on it. I don't know whether to call it a terminal, because my Linux knowledge and vocabulary are not quite developed yet.
So... Apparently the thing that is responsible for starting the KDE Plasma desktop interface upon boot is KDM, or something like that. I could not find it, so I did
Code: Select all
whereis kdm
Code: Select all
kdm:
What do I do from here?
Thanks again, and have a nice one!
Re: How to Install DI/GUI from removable Media
Strange... I didn't need to use any third-party tools. I just burned the ISO on a disk and temporarily bypassed apt-secure.peter_irich wrote: ↑2021-12-03 17:48 But it will not work for iso which is not made like repository. In this case you can for this iso build
the local repository on disk, far example with reprepro.
Peace.
Re: How to Install DI/GUI from removable Media
That’s great you got installed, way to go.
The display manager for plasma defaults to sddm now I think. The kdm isn’t available.
if you have sddm installed but still booting to login prompt, check default.target it should be graphical, you might fix it with dpkg —reconfigure sddm, or a set-default command to systemctl.
Keep going
The display manager for plasma defaults to sddm now I think. The kdm isn’t available.
if you have sddm installed but still booting to login prompt, check default.target it should be graphical, you might fix it with dpkg —reconfigure sddm, or a set-default command to systemctl.
Keep going
resigned by AI ChatGPT
- sunrat
- Administrator
- Posts: 6462
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 116 times
- Been thanked: 472 times
Re: How to Install DI/GUI from removable Media
If what you are aiming for is to install Debian with KDE, it would be much easier to download the live image to which mm3100 posted the link above, or the full DVD1 installer, both which could get you to a desktop straight after install.
If your aim is to learn how to construct Debian KDE from pieces and learn along the way, carry on what you are doing! bw123 is pointing to the right path there.
If your aim is to learn how to construct Debian KDE from pieces and learn along the way, carry on what you are doing! bw123 is pointing to the right path there.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Re: How to Install DI/GUI from removable Media
Thank you very much for your comment. Indeed I see my issue as a great opportunity to learn more about Linux, so that's the path I'll be taking. At least other users viewing this thread will see that there is an easier option for people who don't want to break their backs picking up a DI from a home-made repo DVD, so thank you for taking the time to specify that.sunrat wrote: ↑2021-12-04 22:17 If what you are aiming for is to install Debian with KDE, it would be much easier to download the live image to which mm3100 posted the link above, or the full DVD1 installer, both which could get you to a desktop straight after install.
If your aim is to learn how to construct Debian KDE from pieces and learn along the way, carry on what you are doing! bw123 is pointing to the right path there.
Hello again.bw123 wrote: ↑2021-12-04 17:39 That’s great you got installed, way to go.
The display manager for plasma defaults to sddm now I think. The kdm isn’t available.
if you have sddm installed but still booting to login prompt, check default.target it should be graphical, you might fix it with dpkg —reconfigure sddm, or a set-default command to systemctl.
Keep going
I have to admit, with humility and a bit of embarrassment, that I did not realise that the installation failed, finally. I was doing my homework at the same time I was trying to install KDE Plasma, so my brain was at two places at once. The fact is I thought I had succeeded in installing it, but I didn't. Really sorry for telling you otherwise two days ago. That was a mistake.
Here's the error I get when running 'apt-get update':
Code: Select all
W: Failed to fetch http://deb.debian.org/debian/dists/bullseye/InRelease Temporary failure resolving 'deb.debian.org'
W: Failed to fetch http://security.debian.org/debian-security/dists/bullseye-security/InRelease Temporary failure resolving 'security.debian.org'
W: Failed to fetch http://deb.debian.org/debian/dists/bullseye-update/InRelease Temporary Failure resolving 'deb.debian.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.
The only thing I'm wondering is why it's summoning online sources when I ask it to install something from a DVD. Is there a way of bypassing this?
When I run 'apt-get install kde-plasma-desktop', I get tons and tons of lines of errors saying the apt failed to fetch this or that online source, because of a temporary failure resolving 'deb.debian.org'.
P.S. I'm curious as to why some errors start with "E:" and others start with "W:"
I noticed "tips and tricks" or possible solutions in verbose start with "N:" so I'm assuming the prefix letter means something when it comes to errors as well.
Thank you so much again for taking the time to help me out with this. Once again, it's really appreciated.
Peace.
Re: How to Install DI/GUI from removable Media
By default apt sources include official online repositories. When you try to install with apt it will try to fetch package lists from those repositories so it can compare it with its local ones, since it can't reach them it prints warning (W). It is harmless in your case since you don't have internet connection.
One way to solve that is to edit /etc/apt/sources, and comment out everything except cdrom line. Then after you do apt update, it will only check for packages that are on DVD.
So after you uncomment those you can try to reinstall kde with apt reinstall, or maybe first try to just run apt --fix-broken install and see what that gives you.
PS, I have checked around for issue with apt-secure and official iso releases, there has been bug report about if from few years ago with a workaround that you could try instead of disabling apt-secure.
https://bugs.debian.org/cgi-bin/bugrepo ... bug=807996
One way to solve that is to edit /etc/apt/sources, and comment out everything except cdrom line. Then after you do apt update, it will only check for packages that are on DVD.
So after you uncomment those you can try to reinstall kde with apt reinstall, or maybe first try to just run apt --fix-broken install and see what that gives you.
PS, I have checked around for issue with apt-secure and official iso releases, there has been bug report about if from few years ago with a workaround that you could try instead of disabling apt-secure.
https://bugs.debian.org/cgi-bin/bugrepo ... bug=807996
But then there are some other annoying messages. You can try it out just to see how it works.The workaround is, after registering each CD-ROM using apt-cdrom,
modify the /etc/sources.list file. Edit it to add the "trusted" flag to
the entry for each CD-ROM. (In my case, I am using DVDs.) For example:
deb [trusted=yes] cdrom:[Debian GNU/Linux 10.9.0 _Buster_ - Official
amd64 DVD Binary-2 20210327-10:39]/ buster contrib main
Then run "apt update". Which now works, although it generates an
annoying number of "ign:" messages.
Re: How to Install DI/GUI from removable Media
Thank you for your reply.mm3100 wrote: ↑2021-12-06 00:31 By default apt sources include official online repositories. When you try to install with apt it will try to fetch package lists from those repositories so it can compare it with its local ones, since it can't reach them it prints warning (W). It is harmless in your case since you don't have internet connection.
One way to solve that is to edit /etc/apt/sources, and comment out everything except cdrom line. Then after you do apt update, it will only check for packages that are on DVD.
Very interesting hack, there. I did as you said and put in three hashtags in front of every line that contained an online repo in 'sources.list' (in order to distinguish them from the other comments starting with a single hashtag.)
This causes the 'apt-get update' command to search only on the DVD.
When I run 'apt-get --fix-broken install', I get the following:
Code: Select all
Reading package list... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I had already made the cdrom source trusted in the sources.list file, as I've seen on some Stack Exchange site (I think it was the Linux&Unix forums) by doing exactly what you proposed, so that's good.
Finally, running 'apt-get install kde-plasma desktop' results in the following output:
Code: Select all
Reading package list... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package kde-plasma-desktop
Thanks again, and thanks for that information on what "W:" means!
Peace.
Re: How to Install DI/GUI from removable Media
That is a bit odd, kde-plasma-desktop package is included in debian-live-11.1.0-amd64-kde.iso. You can see it here
https://cdimage.debian.org/debian-cd/cu ... e.packages
Maybe try to remove cdrom from apt sources and redo apt-cdrom. It is possible something went wrong along the way.
If it fails again, maybe it is something with iso image or DVD. Then you could try to use full DVD that should include all of desktop environments (sadly I can't find list of included packages, so can't confirm this) and non-free packages for firmware and microcode and try to do apt-cdrom on it.
https://cdimage.debian.org/cdimage/unof ... 4/iso-dvd/
https://cdimage.debian.org/debian-cd/cu ... e.packages
Maybe try to remove cdrom from apt sources and redo apt-cdrom. It is possible something went wrong along the way.
If it fails again, maybe it is something with iso image or DVD. Then you could try to use full DVD that should include all of desktop environments (sadly I can't find list of included packages, so can't confirm this) and non-free packages for firmware and microcode and try to do apt-cdrom on it.
https://cdimage.debian.org/cdimage/unof ... 4/iso-dvd/
- sunrat
- Administrator
- Posts: 6462
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 116 times
- Been thanked: 472 times
Re: How to Install DI/GUI from removable Media
The list is here in a gzipped text file - https://cdimage.debian.org/cdimage/unof ... /list-dvd/ . It does contain kde-plasma-desktop.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Re: How to Install DI/GUI from removable Media
Thanks for your answer!mm3100 wrote: ↑2021-12-06 17:57 That is a bit odd, kde-plasma-desktop package is included in debian-live-11.1.0-amd64-kde.iso. You can see it here
https://cdimage.debian.org/debian-cd/cu ... e.packages
Maybe try to remove cdrom from apt sources and redo apt-cdrom. It is possible something went wrong along the way.
If it fails again, maybe it is something with iso image or DVD. Then you could try to use full DVD that should include all of desktop environments (sadly I can't find list of included packages, so can't confirm this) and non-free packages for firmware and microcode and try to do apt-cdrom on it.
https://cdimage.debian.org/cdimage/unof ... 4/iso-dvd/
Yep. I checked the file and the cdrom source was only there once. Still doesn't work.
I needed my computer for a school assessment, so I decided to connect my computer to the internet (I found out how via a somewhat complicated way since then) and install KDE Plasma via the online APT repos.
I'll definitely be trying again with some other random packages in the future. I'm very interested in managing to install packages from removable media by adding them to the APT sources. Once I find out how to do so, I'll definitely be documenting it and posting it in this thread!
Thank you all for your kind help. It's really appreciated that you all took the time to help me out with my issue!
Peace be on you.
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 71 times
Re: How to Install DI/GUI from removable Media
That deb in your first post is just a metapackage, which is basically just a very small package that depends on whatever is listed in its dependencies. I'm sure you saw your system download hundreds of megabytes when you used that online.
It's a very powerful tool for packagers, but you really need to be on the Net to use it easily.
It's a very powerful tool for packagers, but you really need to be on the Net to use it easily.
MX Linux packager and developer
Re: How to Install DI/GUI from removable Media
Oh, I didn't notice it was a metapackage. Looking back it is quite obvious, given its small size. That's interesting. Thank you for pointing that out.stevepusser wrote: ↑2021-12-10 23:26 That deb in your first post is just a metapackage, which is basically just a very small package that depends on whatever is listed in its dependencies. I'm sure you saw your system download hundreds of megabytes when you used that online.
It's a very powerful tool for packagers, but you really need to be on the Net to use it easily.
We do learn something every day, and especially with Linux!
Peace.