Sample Header Ad - 728x90

Unix & Linux Stack Exchange

Q&A for users of Linux, FreeBSD and other Unix-like operating systems

Latest Questions

0 votes
1 answers
547 views
How do you install a package offline within an ISO setup?
I need to use pulseaudio in Debian environment. I can normally just download it using `sudo apt update; sudo apt install pulseaudio;` But the environment it will be set in will be offline. I'm hoping to package it within an upgrade pkg for an ISO which is what will install the Debian environment. I'...
I need to use pulseaudio in Debian environment. I can normally just download it using sudo apt update; sudo apt install pulseaudio; But the environment it will be set in will be offline. I'm hoping to package it within an upgrade pkg for an ISO which is what will install the Debian environment. I'm not sure how I'd go about packaging it to allow this feature. Any hints/docs with info to allow this will be appreciated!
Zephyr (103 rep)
Oct 25, 2023, 08:13 AM • Last activity: Oct 26, 2023, 02:31 AM
1 votes
2 answers
2951 views
How to install a specific package with dependencies using apt-offline command?
I have installed `apt-offline` on two machines runing debian jessie, pc1 (online) and pc2 (offline). I am using the following command: sudo apt-key exportall | sudo gpg --no-default-keyring --import --keyring /etc/apt/trusted.gpg to fix missing key and successfully update pc2. The problem is that th...
I have installed apt-offline on two machines runing debian jessie, pc1 (online) and pc2 (offline). I am using the following command: sudo apt-key exportall | sudo gpg --no-default-keyring --import --keyring /etc/apt/trusted.gpg to fix missing key and successfully update pc2. The problem is that the signature file can not be generated for some package like dkms. I am using the following command to get the signature file: apt-offline set debian-install.sig --install-packages dkms Is it possible to install a specific package like dkms and linux-headers on pc2 using the command apt-offline?
GAD3R (69497 rep)
Apr 19, 2016, 04:31 PM • Last activity: Aug 1, 2023, 08:58 PM
0 votes
0 answers
64 views
Create an offline repo of an unbuntu release, Linux Mint 19.2 (not 19.3)
I've been for weeks now tried to rsync all files from local servers close to me so I can create my own local/offline repo for this but as it's larger than 120G(the SSD maxed out) it must be lots of 'crap' in there so this is why I ask. It's Linux Mint 19.2 and I guess you have the knowledge of the f...
I've been for weeks now tried to rsync all files from local servers close to me so I can create my own local/offline repo for this but as it's larger than 120G(the SSD maxed out) it must be lots of 'crap' in there so this is why I ask. It's Linux Mint 19.2 and I guess you have the knowledge of the file system of all the files for this; installation, updates, upgrades etc. I can't understand this as I come from CentOS/RH for my server where they had one directory called something like 'everything' and this had absolutely every file including all updates that was made during it's lifetime. LM(Linux Mint) 19.2 will go EOL in the later part of April but I NEED!!! this as this is the only distro I've found that has a kernel LESS than 4.16, it is 4.15 and it seems to work. No!!! I can't get a newer driver as the hardware is old. In kernel 4.17 the old scsi initialization model are removed from the kernel source thus making this driver not working. I got a big RAID5 system with data I need to access thus my question here. How do I create my own private/offline version for Linux Mint 19.2? I've been trying don't know how many different versions that won't work. I tried something called, apt-mirror but that seems to be obsolete and won't work. I even tried to read that code and I can't understand how this filesystem is setup. I need this so I have more time to either get newer hardware or to use software RAID but this need money to get new disks and that costs a lot so it will take a lot of time to get more than the end of April. I can't use a 'clone' of the system as I can't say how long the hardware will work and also the perhaps programs I need to add later on.
TechnoDude (1 rep)
Mar 24, 2023, 09:34 PM • Last activity: Mar 31, 2023, 07:47 PM
0 votes
0 answers
189 views
How to update Ubuntu without network connection (using only connected Windows machine)
My ubuntu system no longer connects to the internet, I suspect due to lack of updates since I haven't used it for almost two years. However, I now need to use it with internet again, but it fails to connect to both wired and wireless networks (these have changed at home since I last used it due to a...
My ubuntu system no longer connects to the internet, I suspect due to lack of updates since I haven't used it for almost two years. However, I now need to use it with internet again, but it fails to connect to both wired and wireless networks (these have changed at home since I last used it due to an upgrade to glass fiber connection, I've tried to connect both at home and at work without success). It might be noteworthy that the Ubuntu system is on the second partition of a laptop that is fully capable of connecting to the internet (both wired and wireless) when I run its Windows partition, so I don't think it's failure to connect has anything to do with the hardware. I am aware that there is something called apt-offline, but the tutorials for this seem to require having access to a machine that is also running some kind of Linux OS and that is connected to the internet. I don't have access to that, but I do have access to multiple Windows 10 machines that have internet access and USB data carriers. I'm struggling to get the files I need on a USB stick due to the Linux terminology whilst using a Windows system. Can someone explain in beginner friendly terms how to update my Ubuntu system using one of my Windows machines? Thank you so much for your time.
Elisabeth (1 rep)
Jan 10, 2023, 09:56 AM • Last activity: Jan 10, 2023, 02:34 PM
1 votes
1 answers
1251 views
How to create from sources deb packages for different architectures
I have to install a software on some devices with debian package, it isn't available for their architectures on apt for debian (but it is available for other distibutions as e.g. ubuntu), and they aren't powerful enough to compile it on themselves. Considering that sources are available I want to us...
I have to install a software on some devices with debian package, it isn't available for their architectures on apt for debian (but it is available for other distibutions as e.g. ubuntu), and they aren't powerful enough to compile it on themselves. Considering that sources are available I want to use another machine to create an easily offline installable deb package. Is there a way (or better some automatic way with something like apt-build) to do this properly without messing with all dependencies manually?
AndreaF (145 rep)
Jun 9, 2022, 08:59 PM • Last activity: Jun 9, 2022, 09:30 PM
3 votes
1 answers
2563 views
How to upgrade Debian 10 to Debian 11 without internet?
In the future I have to upgrade several Debian 10 systems to Debian 11. The problem is: The systems have no access to the internet. What options do I have to upgrade the system? After some research, I found apt-offline which seemed to be suitable for this task. I tried apt-offline on a fully updated...
In the future I have to upgrade several Debian 10 systems to Debian 11. The problem is: The systems have no access to the internet. What options do I have to upgrade the system? After some research, I found apt-offline which seemed to be suitable for this task. I tried apt-offline on a fully updated example Debian 10 in the following manner: offline system: 1. change the /etc/apt/sources.list from buster (Debian 10) to bullseye (Debian 11) 2. create apt-offline.sig with :
apt-offline set --upgrade-type dist-upgrade apt-offline.sig
on the online system: 3. create bundle.zip with
apt-offline get --bundle bundle.zip apt-offline.sig
on the offline system: 4. install bundle with :
apt-offline install bundle.zip
This does not work. apt tries to fetch packages from the internet when apt-get dist-upgrade is performed and the bundle.zip is also only 27Mb big. It doesn't look like apt-offline is suitable for doing Debian release upgrades. Is there any other method to perform an offline release upgrade from debian 10 to debian 11?
Tritium (33 rep)
Dec 8, 2021, 01:09 PM • Last activity: Dec 8, 2021, 01:27 PM
0 votes
1 answers
516 views
Install gtk-common-themes on Raspberry Pi Offline
I am trying to install "gtk-common-themes" for Snap offline on a Raspberry Pi 2B. It is imperative the device stays offline. On another Raspberry Pi 3 (online) machine, running the same OS (raspbian buster 10), I used `snap download gtk-common-themes`, copied the files to a USB drive, and put them o...
I am trying to install "gtk-common-themes" for Snap offline on a Raspberry Pi 2B. It is imperative the device stays offline. On another Raspberry Pi 3 (online) machine, running the same OS (raspbian buster 10), I used snap download gtk-common-themes, copied the files to a USB drive, and put them on the Raspberry Pi 2. After running: sudo snap ack gtk-common-themes_1515.assert followed by sudo snap ack gtk-common-themes_1515.snap I get error: cannot assert: cannot decode request body into assertions: parsing assertion headers: header is not utf8. Can somebody please help me understand why this is happening? I have not had trouble with other snap packages.
EllipticalInitial (103 rep)
Jul 11, 2021, 04:24 AM • Last activity: Jul 11, 2021, 10:20 PM
0 votes
1 answers
543 views
apt-offline get : IndexError: list index out of range
I'm trying to upgrade a computer under Ubuntu 16 without internet from another computer under Ubuntu 18. Under the Ubuntu16 computer I did: $ sudo apt-offline set ~/offline-data.sig Then I switched to my Ubuntu18 with the .sig file and tried using apt-offline but got this error when trying to downlo...
I'm trying to upgrade a computer under Ubuntu 16 without internet from another computer under Ubuntu 18. Under the Ubuntu16 computer I did: $ sudo apt-offline set ~/offline-data.sig Then I switched to my Ubuntu18 with the .sig file and tried using apt-offline but got this error when trying to download the packages:
bash
$ apt-offline get -d ./OfflineUpgrade/ offline-data.sig
Fetching APT Data
Traceback (most recent call last):
  File "/usr/bin/apt-offline", line 28, in 
    main()
  File "/usr/lib/python3/dist-packages/apt_offline_core/AptOfflineCoreLib.py", line 2211, in main
    args.func(args)
  File "/usr/lib/python3/dist-packages/apt_offline_core/AptOfflineCoreLib.py", line 1135, in fetcher
    (ItemURL, ItemFile, ItemSize, ItemChecksum) = stripper(item)
  File "/usr/lib/python3/dist-packages/apt_offline_core/AptOfflineCoreLib.py", line 814, in stripper
    item1 = ''.join(itemReferenced image)
IndexError: list index out of range
My offline-data.sig looks like this:
none
'https://esm.ubuntu.com/infra/ubuntu/dists/xenial-infra-security/InRelease ' esm.ubuntu.com_infra_ubuntu_dists_xenial-infra-security_InRelease 0 
'https://esm.ubuntu.com/infra/ubuntu/dists/xenial-infra-security/main/binary-amd64/Packages.xz ' esm.ubuntu.com_infra_ubuntu_dists_xenial-infra-security_main_binary-amd64_Packages 0 
'https://esm.ubuntu.com/infra/ubuntu/dists/xenial-infra-security/main/binary-i386/Packages.xz ' esm.ubuntu.com_infra_ubuntu_dists_xenial-infra-security_main_binary-i386_Packages 0 
'https://esm.ubuntu.com/infra/ubuntu/dists/xenial-infra-security/main/binary-all/Packages.xz ' esm.ubuntu.com_infra_ubuntu_dists_xenial-infra-security_main_binary-all_Packages 0 
'https://esm.ubuntu.com/infra/ubuntu/dists/xenial-infra-security/main/i18n/Translation-fr_FR.xz ' esm.ubuntu.com_infra_ubuntu_dists_xenial-infra-security_main_i18n_Translation-fr%5fFR 0 
'https://esm.ubuntu.com/infra/ubuntu/dists/xenial-infra-security/main/i18n/Translation-fr.xz ' esm.ubuntu.com_infra_ubuntu_dists_xenial-infra-security_main_i18n_Translation-fr 0 
'https://esm.ubuntu.com/infra/ubuntu/dists/xenial-infra-security/main/i18n/Translation-en.xz ' esm.ubuntu.com_infra_ubuntu_dists_xenial-infra-security_main_i18n_Translation-en 0 
'https://esm.ubuntu.com/infra/ubuntu/dists/xenial-infra-security/main/dep11/Components-amd64.yml.xz ' esm.ubuntu.com_infra_ubuntu_dists_xenial-infra-security_main_dep11_Components-amd64.yml 0
How can I solve this?
Argent (3 rep)
May 31, 2021, 11:04 AM • Last activity: May 31, 2021, 01:04 PM
1 votes
1 answers
1448 views
apt upgrade does not see apt-offline packages
I'm trying to update my Ubuntu 18.04 computer that does not have internet connection. However the process is failing when I try to run ```sudo apt upgrade```. I have checked a couple of other links like: [sol1][1], [sol2][2] and [sol3][3]. I have set up apt-offline on my offline computer we can call...
I'm trying to update my Ubuntu 18.04 computer that does not have internet connection. However the process is failing when I try to run
apt upgrade
. I have checked a couple of other links like: sol1 , sol2 and sol3 . I have set up apt-offline on my offline computer we can call OC1, and I have also set it up on my online computer we can call OC2. I set up a signature file on my OC1, I then bring the file over to OC2, and use the command
apt-offline get apt-offline.sig --bundle apt-offline-update.zip
. It downloads all the packages to that zip file and I then bring that file over to OC1. Great at this point everything is normal and running as I expect it to. Now I install the package with this command:
./apt-offline install /home/fletchy/Desktop/MyPC/apt-offline-update.zip
I select
(Y)
when prompted to install and it *installs* the packages. However it just syncs them all. However I suppose that make sense because now I would just do a normal
apt upgrade
and I'll update and I'll be good to go. However, when I run
apt upgrade
it runs as if its looking at the internet to install these packages not my
or directories
. I get errors like:
Err:## http:// ... Could not resolve 'us.archive.ubuntu.com'
E: Failed to fetch http....deb Could not resolve 'us.archive.ubuntu.com'
What I would expect to get is a successful install of the packages and update of the system. Perhaps I'm missing something small, I've used Linux for awhile now but never had to update packages offline until recently and I'm encountering this problem. I've attempted to reboot the system, and restart the entire update process from scratch. **Edit 1:** I just noticed that when I run
-cache show
I get the following response:
: No packages found
Fletchy (111 rep)
Oct 9, 2019, 04:45 PM • Last activity: Apr 28, 2020, 10:14 AM
0 votes
0 answers
37 views
Using R on terminal also using apt-offline also purging programmes
So I did something stupid, but deliberately. So I've been using Linux (specifically MX Linux) for a few months, and I'm trying to learn it all in depth. Since coming from Windows 7 I like everything except how to install software there is a dependence on updating from the internet. So I've been play...
So I did something stupid, but deliberately. So I've been using Linux (specifically MX Linux) for a few months, and I'm trying to learn it all in depth. Since coming from Windows 7 I like everything except how to install software there is a dependence on updating from the internet. So I've been playing with using the .deb packages and trying apt-offline to do so. I wanted to try and see if the R (for R markdown) would install offline. Being new to linux I couldn't really figure out how to purge the R installation files, so I just typed in: whereis R and deleted the files it gave me. Now I remember one was like a bash file I believe. I have reinstalled R and currently when I type in whereis R, this is what I get: /etc/R /usr/share/R /usr/share/man/man1/R.1.gz and the bash file is not there. I believe as a consequence of this when I type in the terminal: R it says bash: R: command not found Does anyone have any tips regarding anything I've said here (I'm not an expert in R either btw). But specifically what am I missing to get R to run from the terminal again? Thanks
1toneboy (465 rep)
Mar 8, 2020, 02:20 AM
6 votes
2 answers
2653 views
Is it safe to manually perform 'apt-get update' 's operation?
I am trying to **keep one my Ubuntu systems up-to-date**. The intended target is **Not Connected to the internet**. Am trying to get all the needed info from another machine with internet access. After a bit of study, I found a way to achieve this. Can you please tell me if this is correct & safe? >...
I am trying to **keep one my Ubuntu systems up-to-date**. The intended target is **Not Connected to the internet**. Am trying to get all the needed info from another machine with internet access. After a bit of study, I found a way to achieve this. Can you please tell me if this is correct & safe? > Here is my understanding of the apt-get process.. > > 1. First, we run the command ***'apt-get update'*** : This connects to all the repositories mentioned in the *'/etc/apt/sources.list'*.. And, > **downloads all the Packages.gz** files like > (**in.archive.ubuntu.com/ubuntu/dists/trusty/main/binary-amd64/Packages.gz**) > & **saves them in a similar name** under *'/var/lib/apt/lists'* (for the > above mentioned url the corresponding file is > **in.archive.ubuntu.com_ubuntu_dists_trusty_main_binary-amd64_Packages**) > 2. Then, when we run ***'apt-get upgrade'*** (or) ***'apt-get install pkg_name'***, this **checks the locally installed package list with the local meta-data** > downloaded & stored at *'/var/lib/apt/lists'*. And, then gets the > download url from that & asks for user confirmation **before downloading > & installing the required packages**. This is my plan to keep the isolated machine up-to-date.. 1. **Get the list of packages to download** from the *'/etc/apt/sources.list'* conf file at the target machine.. 2. **Download the meta-data** files Packages.gz **at another machine**.. 3. **Copy** these files **to target machine's *'/var/lib/apt/lists'*** under appropriate filename. 4. **Run** the ***'apt-get --print-uris upgrade'*** (or) *'apt-get --print-uris --yes install pkg_name'* to get the list of all the packages needed for that machine. 5. **Download these packages** again **at the second machine**. 6. **Copy them to the target machine**. 7. **Run the *'dpkg -i pkg_list'*** to install all the missing packages. I am able to achieve my goal using this process. My question is : **Is this correct & reliable? Or is there an easier way to achieve this?** Rangaraj
Rangaraj KS (177 rep)
Aug 31, 2015, 06:44 AM • Last activity: Oct 7, 2019, 08:12 PM
1 votes
0 answers
2173 views
Error when installing GNOME desktop environment on Debian
I was attempting to install `virt-manager` on my computer. I didn't pay attention and i went ahead with the install. Apparently one of my repositories was down at the time- So almost all of my core packages got removed or marked as not needed/uninstalled. The first things i notice is that I cannot u...
I was attempting to install virt-manager on my computer. I didn't pay attention and i went ahead with the install. Apparently one of my repositories was down at the time- So almost all of my core packages got removed or marked as not needed/uninstalled. The first things i notice is that I cannot use the internet and that i am using XFCE instead of Gnome. I login, resolve the network issue, and attempt to install the gnome desktop environment with sudo apt-get -s -o Debug::pkgProblemResolver=yes install gnome, the following is the output: Reading package lists... Done Building dependency tree Reading state information... Done Starting pkgProblemResolver with broken count: 9 Starting 2 pkgProblemResolver with broken count: 9 Investigating (0) gnome:amd64 1:3.22+3 @un puN Ib > Broken gnome:amd64 Depends on libproxy1-plugin-networkmanager:amd64 Considering libproxy1-plugin-networkmanager:amd64 2 as a solution to gnome:amd64 9999 Reinst Failed early because of libproxy1v5:amd64 Broken gnome:amd64 Depends on libreoffice-evolution:amd64 Considering libreoffice-evolution:amd64 1 as a solution to gnome:amd64 9999 Reinst Failed early because of libreoffice-core:amd64 Considering libreoffice-evolution:amd64 1 as a solution to gnome:amd64 9999 Investigating (0) libevolution:amd64 3.22.6-1+deb9u1 @un uN Ib > Broken libevolution:amd64 Depends on libgail-3-0:amd64 (>= 3.0.0) Considering libgail-3-0:amd64 0 as a solution to libevolution:amd64 9 Holding Back libevolution:amd64 rather than change libgail-3-0:amd64 Investigating (0) gnome-control-center:amd64 1:3.22.2-3 @un uN Ib > Broken gnome-control-center:amd64 Depends on libgoa-backend-1.0-1:amd64 (>= 3.10.0) Considering libgoa-backend-1.0-1:amd64 0 as a solution to gnome-control-center:amd64 9 Holding Back gnome-control-center:amd64 rather than change libgoa-backend-1.0-1:amd64 Investigating (0) evolution:amd64 3.22.6-1+deb9u1 @un uN Ib > Broken evolution:amd64 Depends on libevolution:amd64 (>= 3.22.6) Considering libevolution:amd64 9 as a solution to evolution:amd64 4 Holding Back evolution:amd64 rather than change libevolution:amd64 Investigating (0) p11-kit:amd64 0.23.3-2 @un uN Ib > Broken p11-kit:amd64 Depends on p11-kit-modules:amd64 (>= 0.23.3-2) Considering p11-kit-modules:amd64 0 as a solution to p11-kit:amd64 3 Holding Back p11-kit:amd64 rather than change p11-kit-modules:amd64 Investigating (0) nautilus:amd64 3.22.3-1+deb9u1 @rc uN Ib > Broken nautilus:amd64 Depends on libgail-3-0:amd64 (>= 3.0.0) Considering libgail-3-0:amd64 0 as a solution to nautilus:amd64 3 Holding Back nautilus:amd64 rather than change libgail-3-0:amd64 Investigating (0) evolution-plugins:amd64 3.22.6-1+deb9u1 @un uN Ib > Broken evolution-plugins:amd64 Depends on libevolution:amd64 (>= 3.22.6) Considering libevolution:amd64 9 as a solution to evolution-plugins:amd64 3 Holding Back evolution-plugins:amd64 rather than change libevolution:amd64 Investigating (0) gnome-sushi:amd64 3.21.91-2 @un uN Ib > Broken gnome-sushi:amd64 Depends on nautilus:amd64 (>= 3.2) Considering nautilus:amd64 3 as a solution to gnome-sushi:amd64 2 Holding Back gnome-sushi:amd64 rather than change nautilus:amd64 Investigating (0) gnome-shell-extensions:amd64 3.22.2-1 @un uN Ib > Broken gnome-shell-extensions:amd64 Depends on gvfs:amd64 (>= 1.16.0) Considering gvfs:amd64 9 as a solution to gnome-shell-extensions:amd64 0 Holding Back gnome-shell-extensions:amd64 rather than change gvfs:amd64 Investigating (0) gnome-core:amd64 1:3.22+3 @un uN Ib > Broken gnome-core:amd64 Depends on gnome-control-center:amd64 (>= 1:3.22) Considering gnome-control-center:amd64 9 as a solution to gnome-core:amd64 0 Holding Back gnome-core:amd64 rather than change gnome-control-center:amd64 Investigating (0) gvfs-fuse:amd64 1.30.4-1 @un uN Ib > Broken gvfs-fuse:amd64 Depends on gvfs:amd64 (= 1.30.4-1) Considering gvfs:amd64 9 as a solution to gvfs-fuse:amd64 0 Holding Back gvfs-fuse:amd64 rather than change gvfs:amd64 Investigating (0) gnome-orca:amd64 3.22.2-3 @rc uN Ib > Broken gnome-orca:amd64 Depends on python3-brlapi:amd64 (>= 0.5.1) Considering python3-brlapi:amd64 0 as a solution to gnome-orca:amd64 0 Holding Back gnome-orca:amd64 rather than change python3-brlapi:amd64 Investigating (1) gnome:amd64 1:3.22+3 @un puN Ib > Broken gnome:amd64 Depends on gnome-core:amd64 (= 1:3.22+3) Considering gnome-core:amd64 0 as a solution to gnome:amd64 9999 Reinst Failed early because of libgoa-1.0-common:amd64 Reinst Failed because of libgoa-backend-1.0-1:amd64 Reinst Failed because of gnome-control-center:amd64 Broken gnome:amd64 Depends on libproxy1-plugin-networkmanager:amd64 Considering libproxy1-plugin-networkmanager:amd64 2 as a solution to gnome:amd64 9999 Broken gnome:amd64 Depends on evolution:amd64 (>= 3.22) Considering evolution:amd64 4 as a solution to gnome:amd64 9999 Reinst Failed early because of libgtk-3-0:amd64 Reinst Failed because of libgail-3-0:amd64 Reinst Failed because of libevolution:amd64 Broken gnome:amd64 Depends on evolution-plugins:amd64 (>= 3.22) Considering evolution-plugins:amd64 3 as a solution to gnome:amd64 9999 Reinst Failed because of libevolution:amd64 Broken gnome:amd64 Depends on gnome-orca:amd64 (>= 3.22) Considering gnome-orca:amd64 0 as a solution to gnome:amd64 9999 Reinst Failed early because of python3:amd64 Reinst Failed because of python3-brlapi:amd64 Considering gnome-orca:amd64 0 as a solution to gnome:amd64 9999 Broken gnome:amd64 Depends on libreoffice-evolution:amd64 Considering libreoffice-evolution:amd64 1 as a solution to gnome:amd64 9999 Considering libreoffice-evolution:amd64 1 as a solution to gnome:amd64 9999 Investigating (1) gnome-keyring:amd64 3.20.0-3 @un uN Ib > Broken gnome-keyring:amd64 Depends on p11-kit:amd64 (>= 0.16) Considering p11-kit:amd64 3 as a solution to gnome-keyring:amd64 14 Holding Back gnome-keyring:amd64 rather than change p11-kit:amd64 Investigating (1) seahorse:amd64 3.20.0-3.1 @un uN Ib > Broken seahorse:amd64 Depends on gnome-keyring:amd64 (>= 3.4) Considering gnome-keyring:amd64 14 as a solution to seahorse:amd64 1 Holding Back seahorse:amd64 rather than change gnome-keyring:amd64 Investigating (2) gnome:amd64 1:3.22+3 @un puN Ib > Broken gnome:amd64 Depends on gnome-core:amd64 (= 1:3.22+3) Considering gnome-core:amd64 0 as a solution to gnome:amd64 9999 Broken gnome:amd64 Depends on libproxy1-plugin-networkmanager:amd64 Considering libproxy1-plugin-networkmanager:amd64 2 as a solution to gnome:amd64 9999 Broken gnome:amd64 Depends on evolution:amd64 (>= 3.22) Considering evolution:amd64 4 as a solution to gnome:amd64 9999 Broken gnome:amd64 Depends on evolution-plugins:amd64 (>= 3.22) Considering evolution-plugins:amd64 3 as a solution to gnome:amd64 9999 Broken gnome:amd64 Depends on gnome-orca:amd64 (>= 3.22) Considering gnome-orca:amd64 0 as a solution to gnome:amd64 9999 Considering gnome-orca:amd64 0 as a solution to gnome:amd64 9999 Broken gnome:amd64 Depends on seahorse:amd64 (>= 3.20) Considering seahorse:amd64 1 as a solution to gnome:amd64 9999 Reinst Failed early because of libp11-kit0:amd64 Reinst Failed because of p11-kit-modules:amd64 Reinst Failed because of p11-kit:amd64 Reinst Failed because of gnome-keyring:amd64 Broken gnome:amd64 Depends on libreoffice-evolution:amd64 Considering libreoffice-evolution:amd64 1 as a solution to gnome:amd64 9999 Considering libreoffice-evolution:amd64 1 as a solution to gnome:amd64 9999 Investigating (2) evolution-data-server:amd64 3.22.7-1 @un uN Ib > Broken evolution-data-server:amd64 Depends on gnome-keyring:amd64 Considering gnome-keyring:amd64 14 as a solution to evolution-data-server:amd64 15 Holding Back evolution-data-server:amd64 rather than change gnome-keyring:amd64 Investigating (2) libfolks-eds25:amd64 0.11.3-2 @un uN Ib > Broken libfolks-eds25:amd64 Depends on evolution-data-server:amd64 (>= 3.2.0) Considering evolution-data-server:amd64 15 as a solution to libfolks-eds25:amd64 5 Holding Back libfolks-eds25:amd64 rather than change evolution-data-server:amd64 Investigating (3) gnome:amd64 1:3.22+3 @un puN Ib > Broken gnome:amd64 Depends on gnome-core:amd64 (= 1:3.22+3) Considering gnome-core:amd64 0 as a solution to gnome:amd64 9999 Broken gnome:amd64 Depends on libproxy1-plugin-networkmanager:amd64 Considering libproxy1-plugin-networkmanager:amd64 2 as a solution to gnome:amd64 9999 Broken gnome:amd64 Depends on evolution:amd64 (>= 3.22) Considering evolution:amd64 4 as a solution to gnome:amd64 9999 Broken gnome:amd64 Depends on evolution-plugins:amd64 (>= 3.22) Considering evolution-plugins:amd64 3 as a solution to gnome:amd64 9999 Broken gnome:amd64 Depends on gnome-orca:amd64 (>= 3.22) Considering gnome-orca:amd64 0 as a solution to gnome:amd64 9999 Considering gnome-orca:amd64 0 as a solution to gnome:amd64 9999 Broken gnome:amd64 Depends on seahorse:amd64 (>= 3.20) Considering seahorse:amd64 1 as a solution to gnome:amd64 9999 Broken gnome:amd64 Depends on libreoffice-evolution:amd64 Considering libreoffice-evolution:amd64 1 as a solution to gnome:amd64 9999 Considering libreoffice-evolution:amd64 1 as a solution to gnome:amd64 9999 Investigating (3) gnome-shell:amd64 3.22.3-3 @un uN Ib > Broken gnome-shell:amd64 Depends on evolution-data-server:amd64 (>= 3.17.2) Considering evolution-data-server:amd64 15 as a solution to gnome-shell:amd64 42 Holding Back gnome-shell:amd64 rather than change evolution-data-server:amd64 Investigating (3) gnome-contacts:amd64 3.22.1-1+b2 @un uN Ib > Broken gnome-contacts:amd64 Depends on libfolks-eds25:amd64 (>= 0.7.3) Considering libfolks-eds25:amd64 5 as a solution to gnome-contacts:amd64 6 Holding Back gnome-contacts:amd64 rather than change libfolks-eds25:amd64 Investigating (3) gdm3:amd64 3.22.3-3+deb9u2 @rc uN Ib > Broken gdm3:amd64 Depends on gnome-shell:amd64 (>= 3.19.92) Considering gnome-shell:amd64 42 as a solution to gdm3:amd64 6 Holding Back gdm3:amd64 rather than change gnome-shell:amd64 Investigating (3) network-manager-gnome:amd64 1.4.4-1+deb9u1 @rc uN Ib > Broken network-manager-gnome:amd64 Depends on policykit-1-gnome:amd64 Considering policykit-1-gnome:amd64 1 as a solution to network-manager-gnome:amd64 5 Holding Back network-manager-gnome:amd64 rather than change policykit-1-gnome:amd64 Broken network-manager-gnome:amd64 Depends on polkit-1-auth-agent:amd64 Considering policykit-1-gnome:i386 0 as a solution to network-manager-gnome:amd64 5 Holding Back network-manager-gnome:amd64 rather than change polkit-1-auth-agent:amd64 Or group keep for network-manager-gnome:amd64 Investigating (3) gnome-session:amd64 3.22.3-1 @un uN Ib > Broken gnome-session:amd64 Depends on gnome-shell:amd64 (>= 3.19) Considering gnome-shell:amd64 42 as a solution to gnome-session:amd64 4 Holding Back gnome-session:amd64 rather than change gnome-shell:amd64 Investigating (3) chrome-gnome-shell:amd64 8-4 @un uN Ib > Broken chrome-gnome-shell:amd64 Depends on gnome-shell:amd64 Considering gnome-shell:amd64 42 as a solution to chrome-gnome-shell:amd64 0 Holding Back chrome-gnome-shell:amd64 rather than change gnome-shell:amd64 Investigating (4) gnome:amd64 1:3.22+3 @un puN Ib > Broken gnome:amd64 Depends on gnome-core:amd64 (= 1:3.22+3) Considering gnome-core:amd64 0 as a solution to gnome:amd64 9999 Broken gnome:amd64 Depends on network-manager-gnome:amd64 (>= 1.4) Considering network-manager-gnome:amd64 5 as a solution to gnome:amd64 9999 Re-Instated policykit-1-gnome:amd64 Re-Instated network-manager-gnome:amd64 Broken gnome:amd64 Depends on libproxy1-plugin-networkmanager:amd64 Considering libproxy1-plugin-networkmanager:amd64 2 as a solution to gnome:amd64 9999 Broken gnome:amd64 Depends on evolution:amd64 (>= 3.22) Considering evolution:amd64 4 as a solution to gnome:amd64 9999 Broken gnome:amd64 Depends on evolution-plugins:amd64 (>= 3.22) Considering evolution-plugins:amd64 3 as a solution to gnome:amd64 9999 Broken gnome:amd64 Depends on gnome-orca:amd64 (>= 3.22) Considering gnome-orca:amd64 0 as a solution to gnome:amd64 9999 Considering gnome-orca:amd64 0 as a solution to gnome:amd64 9999 Broken gnome:amd64 Depends on seahorse:amd64 (>= 3.20) Considering seahorse:amd64 1 as a solution to gnome:amd64 9999 Broken gnome:amd64 Depends on libreoffice-evolution:amd64 Considering libreoffice-evolution:amd64 1 as a solution to gnome:amd64 9999 Considering libreoffice-evolution:amd64 1 as a solution to gnome:amd64 9999 Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: gnome : Depends: gnome-core (= 1:3.22+3) but it is not going to be installed Depends: libproxy1-plugin-networkmanager but it is not going to be installed Depends: evolution (>= 3.22) but it is not going to be installed Depends: evolution-plugins (>= 3.22) but it is not going to be installed Depends: gnome-orca (>= 3.22) but it is not going to be installed Depends: seahorse (>= 3.20) but it is not going to be installed Depends: libreoffice-evolution but it is not going to be installed Recommends: brasero but it is not going to be installed E: Unable to correct problems, you have held broken packages. What happened? How do i resolve this? EDIT: The following are the contents of my /etc/apt/sources.list: # # deb cdrom:[Debian GNU/Linux 9.6.0 _Stretch_ - Official amd64 NETINST 20181110-11:34]/ stretch main # deb cdrom:[Debian GNU/Linux 9.6.0 _Stretch_ - Official amd64 NETINST 20181110-11:34]/ stretch main deb http://mirrors.kernel.org/debian/ stretch main deb-src http://mirrors.kernel.org/debian/ stretch main deb http://security.debian.org/debian-security stretch/updates main # stretch-updates, previously known as 'volatile' deb http://mirrors.kernel.org/debian/ stretch-updates main deb https://packages.sury.org/php/ stretch main # deb-src https://packages.sury.org/php/ stretch main # deb-src https://packages.sury.org/php/ stretch main deb-src http://mirrors.kernel.org/debian/ stretch-updates main deb [arch=amd64] https://download.docker.com/linux/debian stretch stable # deb-src [arch=amd64] https://download.docker.com/linux/debian stretch stable deb https://matrix.org/packages/debian/ stretch main # deb-src https://matrix.org/packages/debian/ stretch main There was also one more repository that I removed because it was down, which if I am not mistaken was deb ftp.de.debian.org sid main. I cannot re-add this repository, however, because of this error message: E: The method 'ftp' is unsupported and disabled by default. Consider switching to http(s). Set Dir::Bin::Methods::ftp to "ftp" to enable it again. E: Failed to fetch ftp://ftp.de.debian.org/dists/sid/InRelease E: Some index files failed to download. They have been ignored, or old ones used instead. Also, apt-get clean, apt-get install -f, apt-get update and apt-get upgrade all did nothing. Neither does apt-get dist-upgrade.
boogledoogle (19 rep)
Feb 7, 2019, 12:30 AM • Last activity: Feb 7, 2019, 08:09 PM
4 votes
0 answers
1747 views
rdepends stops on virtual packages
I am working to create an offline repository for a system that does not have internet access. One of the first packages I am downloading for this system is the apt-offline package. I am using the command below and am running into the issue "Can't select candidate version as it has no candidate" for...
I am working to create an offline repository for a system that does not have internet access. One of the first packages I am downloading for this system is the apt-offline package. I am using the command below and am running into the issue "Can't select candidate version as it has no candidate" for two of the dependencies, debconf-2.0 and python-argparse. @RU03:~/a$ sudo apt-get download $(apt-rdepends apt-offline | grep -v "^ ") Reading package lists... Done Building dependency tree Reading state information... Done E: Can't select candidate version from package debconf-2.0 as it has no candidate E: Can't select candidate version from package python-argparse as it has no candidate I learned that these are both virtual packages, and reading the rdepends man page, one of the bugs state that it does not display information about virtual packages(I'm assuming that is why I am getting the error?) How can I work around this error to download the apt-offline package for the offline repository I am creating? Is there a better/faster/more efficient way to download this package, and then install it on my offline repository?
comuter geek (41 rep)
Jul 26, 2016, 11:41 PM • Last activity: Jul 26, 2016, 11:46 PM
1 votes
2 answers
1483 views
apt-offline apt-get upgrade still trying to connect to online server for upgrade even though packages have been synced already
I have a server which can't go online because of some policy. So I have to update it using apt-offline. So far it has worked for me nicely on other servers, but this one doesn't really. - I created the sig file, moved it to an online server - I created the bundle on the online server using the sig f...
I have a server which can't go online because of some policy. So I have to update it using apt-offline. So far it has worked for me nicely on other servers, but this one doesn't really. - I created the sig file, moved it to an online server - I created the bundle on the online server using the sig file - I moved the bundle back to the offline server - I installed the bundle, the output shows synced for all repros - I call apt-get upgrade, it shows me all the packages that were just synced - The server tries to connect to an internet server 0% [Connecting to cdn.debian.net] [Connecting to security.debian.org], see below, even though the output shows that it has just synced packages from the bundle... I don't get it, what am I doing wrong? See here the apt-offline install command and the apt-get upgrade command root@CFRLJY1:~# apt-offline install /media/usb/bundle-24-11-2015-3.zip gpgv: Signature made Tue Nov 24 04:54:22 2015 HKT using RSA key ID 46925553 gpgv: Good signature from "Debian Archive Automatic Signing Key (7.0/wheezy) " gpgv: Signature made Tue Nov 24 04:54:22 2015 HKT using RSA key ID 2B90D010 gpgv: Good signature from "Debian Archive Automatic Signing Key (8/jessie) " gpgv: Signature made Sat Sep 5 19:47:40 2015 HKT using RSA key ID 46925553 gpgv: Good signature from "Debian Archive Automatic Signing Key (7.0/wheezy) " gpgv: Signature made Sat Sep 5 19:47:40 2015 HKT using RSA key ID 2B90D010 gpgv: Good signature from "Debian Archive Automatic Signing Key (8/jessie) " gpgv: Signature made Sat Sep 5 19:47:55 2015 HKT using RSA key ID 65FFB764 gpgv: Good signature from "Wheezy Stable Release Key " gpgv: Signature made Mon Nov 23 08:50:55 2015 HKT using RSA key ID C857C906 gpgv: Good signature from "Debian Security Archive Automatic Signing Key (8/jessie) " gpgv: Signature made Mon Nov 23 08:50:55 2015 HKT using RSA key ID 46925553 gpgv: Good signature from "Debian Archive Automatic Signing Key (7.0/wheezy) " /var/lib/apt/lists/partial/ftp.cn.debian.org_debian_dists_wheezy-updates_Release synced. /var/lib/apt/lists/partial/ftp.cn.debian.org_debian_dists_wheezy-updates_Release.gpg synced. /var/lib/apt/lists/partial/ftp.cn.debian.org_debian_dists_wheezy-updates_main_binary-amd64_Packages synced. /var/lib/apt/lists/partial/ftp.cn.debian.org_debian_dists_wheezy-updates_main_i18n_Translation-en synced. /var/lib/apt/lists/partial/ftp.cn.debian.org_debian_dists_wheezy-updates_main_source_Sources synced. /var/lib/apt/lists/partial/ftp.cn.debian.org_debian_dists_wheezy-updates_Release synced. /var/lib/apt/lists/partial/ftp.cn.debian.org_debian_dists_wheezy-updates_Release.gpg synced. /var/lib/apt/lists/partial/ftp.cn.debian.org_debian_dists_wheezy-updates_main_binary-amd64_Packages synced. /var/lib/apt/lists/partial/ftp.cn.debian.org_debian_dists_wheezy-updates_main_i18n_Translation-en synced. /var/lib/apt/lists/partial/ftp.cn.debian.org_debian_dists_wheezy-updates_main_source_Sources synced. /var/lib/apt/lists/partial/ftp.cn.debian.org_debian_dists_wheezy_Release synced. /var/lib/apt/lists/partial/ftp.cn.debian.org_debian_dists_wheezy_Release.gpg synced. /var/lib/apt/lists/partial/ftp.cn.debian.org_debian_dists_wheezy_contrib_binary-amd64_Packages synced. /var/lib/apt/lists/partial/ftp.cn.debian.org_debian_dists_wheezy_contrib_i18n_Translation-en synced. /var/lib/apt/lists/partial/ftp.cn.debian.org_debian_dists_wheezy_main_binary-amd64_Packages synced. /var/lib/apt/lists/partial/ftp.cn.debian.org_debian_dists_wheezy_main_i18n_Translation-en synced. /var/lib/apt/lists/partial/ftp.cn.debian.org_debian_dists_wheezy_main_source_Sources synced. /var/lib/apt/lists/partial/ftp.cn.debian.org_debian_dists_wheezy_non-free_binary-amd64_Packages synced. /var/lib/apt/lists/partial/ftp.cn.debian.org_debian_dists_wheezy_non-free_i18n_Translation-en synced. /var/lib/apt/lists/partial/security.debian.org_dists_wheezy_updates_Release synced. /var/lib/apt/lists/partial/security.debian.org_dists_wheezy_updates_Release.gpg synced. /var/lib/apt/lists/partial/security.debian.org_dists_wheezy_updates_contrib_binary-amd64_Packages synced. /var/lib/apt/lists/partial/security.debian.org_dists_wheezy_updates_contrib_i18n_Translation-en synced. /var/lib/apt/lists/partial/security.debian.org_dists_wheezy_updates_main_binary-amd64_Packages synced. /var/lib/apt/lists/partial/security.debian.org_dists_wheezy_updates_main_i18n_Translation-en synced. /var/lib/apt/lists/partial/security.debian.org_dists_wheezy_updates_main_source_Sources synced. /var/lib/apt/lists/partial/security.debian.org_dists_wheezy_updates_non-free_binary-amd64_Packages synced. /var/lib/apt/lists/partial/security.debian.org_dists_wheezy_updates_non-free_i18n_Translation-en synced. root@CFRLJY1:~# apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be upgraded: krb5-locales libapache2-mod-php5 libfreetype6 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgssapi-krb5-2 libk5crypto3 libkrb5-3 libkrb5support0 libmysqlclient18 libpng12-0 linux-image-3.2.0-4-amd64 mysql-client-5.5 mysql-common mysql-server mysql-server-5.5 mysql-server-core-5.5 ntp php-pear php5 php5-cli php5-common php5-curl php5-mysql tzdata 25 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 42.0 MB of archives. After this operation, 217 kB disk space will be freed. Do you want to continue [Y/n]? Y 0% [Connecting to cdn.debian.net] [Connecting to security.debian.org] Thanks so much for any hint and help in advance!
Preexo (5083 rep)
Nov 30, 2015, 09:19 AM • Last activity: Jul 14, 2016, 06:23 AM
2 votes
1 answers
18933 views
Installing a package manually using apt-get
I'm trying to install a deb package offline using `apt-get` command. From what I understand, I can download a package manually from the internet. Put it in the local repository folder (which is usually `/var/cache/apt/archives`). Then update the repository using `apt-get update`. And finally `apt-ge...
I'm trying to install a deb package offline using apt-get command. From what I understand, I can download a package manually from the internet. Put it in the local repository folder (which is usually /var/cache/apt/archives). Then update the repository using apt-get update. And finally apt-get install myPackage I tried these steps, but I keep getting the error Unable to locate package uex_15.1.0.8_amd64. What am I missing? or should I use apt-offline? If so, how? BTW, the package uex_15.1.0.8_amd64 is the package to install UltraEdit.
AhmedWas (247 rep)
Apr 21, 2016, 08:35 AM • Last activity: Apr 21, 2016, 09:29 AM
1 votes
2 answers
3421 views
How to access local repository mirror?
I am trying to access a local apt mirror which is on a usb drive. The file tree on the drive is /apt-mirror /mirror /archive.ubuntu.com /dists /pool /skel /var The drive is /media/truecrypt1, so I added the following line to my sources list: deb file:///media/truecrypt1/apt-mirror trusty main restri...
I am trying to access a local apt mirror which is on a usb drive. The file tree on the drive is /apt-mirror /mirror /archive.ubuntu.com /dists /pool /skel /var The drive is /media/truecrypt1, so I added the following line to my sources list: deb file:///media/truecrypt1/apt-mirror trusty main restricted universe multiverse When I do sudo apt-get update I get lots of errors like: Err file: trusty/main Sources File not found Then it tries to reach http://us.archive.ubuntu.com which of course does not work because it is an offline machine, so I get a whole stream of errors while it fails to connect to that site. If I try to install a package, for example: sudo apt-get install astyle It tries to do it, but then fails because it cannot connect to us.archive.unbuntu.com. How can I make progress here?
Tyler Durden (6193 rep)
Mar 27, 2016, 03:15 AM • Last activity: Mar 27, 2016, 08:48 AM
3 votes
0 answers
787 views
Generate apt-offline bundle for use across many machines
I'm trying to use apt-offline to install packages on many machines (using ansible), so I need to avoid generating a machine-specific signature file (e.g. `sudo apt-offline set debian-update.sig --update`). Is this possible?
I'm trying to use apt-offline to install packages on many machines (using ansible), so I need to avoid generating a machine-specific signature file (e.g. sudo apt-offline set debian-update.sig --update). Is this possible?
devth (131 rep)
Aug 25, 2015, 05:45 PM • Last activity: Aug 25, 2015, 05:52 PM
Showing page 1 of 17 total questions