I have a new install of Debian Buster, I downloaded the ProtonVPN CLI package and went to install and got the errors:
E: Unable to locate package protonvpn-stable-release_1.0.0-1_all.deb
E: Couldn't find any package by glob 'protonvpn-stable-release_1.0.0-1_all.deb'
E: Couldn't find any package by regex 'protonvpn-stable-release_1.0.0-1_all.deb'
my /etc/apt/sources.list file looks like this:
#deb cdrom:[Debian GNU/Linux 10.10.0 _Buster_ - Official amd64 NETINST 20210619-16:11]/ buster main
#deb cdrom:[Debian GNU/Linux 10.10.0 _Buster_ - Official amd64 NETINST 20210619-16:11]/ buster main
deb http://deb.debian.org/debian/ buster main
deb-src http://deb.debian.org/debian/ buster main
deb http://security.debian.org.debian-security buster/updates main
deb-src http://security.debian.org.debian-security buster/updates main
deb http://deb.debian.org/debian/ buster-updates main
deb-src http://deb.debian.org/debian/ buster main
I was able to apt-get install wget as well as update and upgrdade. I even tried uncommenting the cdrom lines at the top. I reran apt-get update and apt-get upgrade.
Still, when I try to install the ProtonVPN package I get the above errors.
Note I understand that this is not strictly programming related. If there is a more appropriate stack, please let me know in comments and I will close and post there.
To install manually downloaded Debian package, use dpkg:
dpkg -i protonvpn-stable-release_1.0.0-1_all.deb
If dpkg is complaining about missing dependencies, then use apt-get -f install after running dpkg
Related
I am trying to install ffmpeg on my sistem, but for some reason when I do sudo apt install ffmpeg I only get the version 4.1.10-0+deb10u1. This is an issue because one of my apps requires at least version 4.2.7. When running apt list --all-versions ffmpeg I get the following output:
ffmpeg/oldstable,now 7:4.1.10-0+deb10u1 amd64 [installed]
ffmpeg/oldstable 7:4.1.9-0+deb10u1 amd64
I have run sudo apt update and sudo apt upgrade beforehand just in case, but it seems that the only options I have are those. I use Debian GNU/Linux 10 (buster), so I checked on their website and found that there is a stable version 4.3.5 available here. Maybe there Is something I need to update to see this version?
So it seems that adding a new source fixes the issue.
You basically need to add these two lines in the /etc/apt/sources.list file:
deb http://deb.debian.org/debian/ stable main
deb-src http://deb.debian.org/debian/ stable main
After that apt list --all-versions ffmpeg gave me the desired output:
ffmpeg/stable 7:4.3.5-0+deb11u1 amd64
ffmpeg/oldstable 7:4.1.10-0+deb10u1 amd64
ffmpeg/oldstable 7:4.1.9-0+deb10u1 amd64
For installing pip3 I am following apt update process.
But I am getting output in terminal:
$ sudo apt-get update
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python3-pip
Tried all available solutions on stackoverflow.
Please suggest any solutions.
Sometimes the sources.list file is not configured properly, so if none of solutions work than try this:
Type in terminal, gedit etc/apt/sources.list. A file will open, check if these given lines are present or not in that file:
deb http://deb.debian.org/debian buster main
deb-src http://deb.debian.org/debian buster main
deb http://deb.debian.org/debian-security/ buster/updates main
deb-src http://deb.debian.org/debian-security/ buster/updates main
deb http://deb.debian.org/debian buster-updates main
deb-src http://deb.debian.org/debian buster-updates main
In my case these were missing, this means the apt-get command had no mirrors configured to pull and update packages. These lines are the links to Debian repositories from where packages are pulled.
Copy and paste these lines into that file and save and close it.
Now run sudo apt-get update and than run sudo apt-get upgrade. Once process finishes run sudo apt-get install -y python3-pip. This will install pip3 without any error.
Please run an update and upgrade,
sudo apt update && sudo apt upgrade
Hopefully, this will fix the issue. if this doesn't work you can always update the source list manually.
I am a freshman to UBUNTU (Python 2.7 user), and faced a strange problem while installing python's xraylib library. The library is not provided in any official repository and the only possible way to install it is to unpack its '*tar.gz' file.
What I've done:
1) I downloaded the 'tar.gz' file to the '/Downloads' folder
2) Executed the following commands:
gunzip xraylib-version.tar.gz
tar xvf xraylib-version.tar
cd xraylib-version
./configure
sudo make install
I found the package has been installed in the 'usr/local/include' folder (not in the default usr/lib/python2.7). Therefore, in Spyder, I added this folder to the PYTHONPATH variable, and after writing 'import xraylib', I got the message:
"No module named xraylib"
Also, I found it is impossible to drag the xraylib folder to the usr/lib/python2.7 where all the python packages are stored.
Can anyone explain what is the best, and simplest way to install python modules from "tar.gz" files, so that the packages can end up in the default python packages folder?
Many thanks for Your answer!
I tried this way, but I found it failed.
1) I ran this "curl..." command
2) I went to the ../etc/apt/sources.list.d/ folder where I edited the sources.list file by adding (and saving) the lines:
'deb [arch=amd64] http://lvserver.ugent.be/apt/ubuntu xenial stable
deb-src http://lvserver.ugent.be/apt/ubuntu xenial stable'
3) I ran 'sudo apt-get update'
4) Finally, following to writing (I use UBUNTU 16.04):
'sudo apt-get install libxrl7 xraylib libxrl7-dev libxrlf03-7 libxrl-perl'
I got:
'Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libxrl7
E: Unable to locate package xraylib
E: Unable to locate package libxrl7-dev
E: Unable to locate package libxrlf03-7
E: Unable to locate package libxrl-perl'
Meaning, my system still couldn't locate the source.
The instructions are very clear at https://github.com/tschoonj/xraylib/wiki/Installation-instructions#debian-and-ubuntu
curl http://lvserver.ugent.be/apt/xmi.packages.key | sudo apt-key add -
Next, add the package download location corresponding to your distribution to the /etc/apt/sources.list file (as root):
Ubuntu Precise 12.04:
deb [arch=amd64] http://lvserver.ugent.be/apt/ubuntu precise stable
deb-src http://lvserver.ugent.be/apt/ubuntu precise stable
Ubuntu Trusty 14.04:
deb [arch=amd64] http://lvserver.ugent.be/apt/ubuntu trusty stable
deb-src http://lvserver.ugent.be/apt/ubuntu trusty stable
Ubuntu Wily 15.10:
deb [arch=amd64] http://lvserver.ugent.be/apt/ubuntu wily stable
deb-src http://lvserver.ugent.be/apt/ubuntu wily stable
Ubuntu Xenial 16.04:
deb [arch=amd64] http://lvserver.ugent.be/apt/ubuntu xenial stable
deb-src http://lvserver.ugent.be/apt/ubuntu xenial stable
When the sources.list file contains the correct download locations, update the apt cache by running:
sudo apt-get update
After this, one can install xraylib by executing the following command:
sudo apt-get install libxrl7 xraylib libxrl7-dev libxrlf03-7 libxrl-perl
I'm using debian 7.11.
I is said qt5 is not supported by apt-get.
$apt-get install qt4-qmake
it works.
However,
$apt-get install qt5-qmake
E: Unable to locate package qt5-qmake
Is there any work-around way to install qt5 in debian 7?
These are my sources.list
$less /etc/apt/sources.list
deb http://apt.readynas.com/packages/readynasos 6.5.1 updates apps main
deb http://mirrors.kernel.org/debian wheezy main
deb http://security.debian.org/ wheezy/updates main
deb http://egnyte-cdn.egnyte.com/storagesync/netgear6/en-us 6.5 egnyte
deb ftp://ftp.nerim.net/debian-marillat/ stable main
Take a look at this gist:
https://gist.github.com/iginosilva/fff315ff3072045e9819b6a268b4fdf2
sudo apt-get install qt5-default
It worked for Ubuntu 16 xenial
qmake --version
QMake version 3.0
Using Qt version 5.6.1 in /usr/lib/x86_64-linux-gnu
Which I think that is the correct qmake. you can check the build input on GitHub:
https://github.com/qt/qtbase/tree/5.6/qmake
At present the latest Qt version seems to be something like 5.11 or better. However one must acknowledge that released packages will (needs be) lag the bleeding edge.
If I saw things correctly, Qt 5 is available in the Jessie repositories
You should either install a debian based on Jessie (so you only use packages from it) or add the repositories from Jessie in your sources.list (copy the lines from stable and change the target to testing), sync and install Qt 5
Change Wheezy example:
deb http://http.debian.net/debian wheezy main
to Jessie:
deb http://http.debian.net/debian jessie main
Hope it helps
I have installed Ubuntu Server 12.04-4 LTS.
Set to /etc/apt/sources.list
deb http://download.virtualbox.org/virtualbox/debian saucy contrib
deb http://download.virtualbox.org/virtualbox/debian raring contrib
deb http://download.virtualbox.org/virtualbox/debian quantal contrib
deb http://download.virtualbox.org/virtualbox/debian precise contrib
deb http://download.virtualbox.org/virtualbox/debian lucid contrib non-free
deb http://download.virtualbox.org/virtualbox/debian wheezy contrib
deb http://download.virtualbox.org/virtualbox/debian squeeze contrib non-free
After that I did
sudo apt-get update
sudo apt-get install virtualbox-4.3
The Commandline below give me the Error
"Warning: program compiled against libxml 209 using older 207"
VBoxManage setproperty websrvauthlibrary null
Than I downloaded the install the Extension Pack of Linux
wget http://download.virtualbox.org/virtualbox/VERSION/Oracle_VM_VirtualBox_Extension_Pack-4.3.6.vbox-extpack
VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.3.6.vbox-extpack
Got the same error like above with "Warning: program compiled against libxml 209 using older 207"
Can anybody tell what is wrong? What is wrong with libxml?
ScreenLog
VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.3.0.vbox-extpack
Warning: program compiled against libxml 209 using older 207
0%...
Progress state: NS_ERROR_FAILURE
VBoxManage: error: Failed to install "/home/thatsme/Oracle_VM_VirtualBox_Extension_Pack-4.3.0.vbox-extpack"
VBoxManage: error: The installer failed with exit code 127: Warning: program compiled against libxml 209 using older 207
VBoxManage: error: Error creating textual authentication agent: Error opening current controlling terminal for the process (`/dev/tty'): No such device or address
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ExtPackManager, interface IExtPackManager
VBoxManage: error: Context: "int handleExtPack(HandlerArg*)" at line 1143 of file VBoxManageMisc.cpp
Warning: program compiled against libxml 209 using older 207
It seems to be a warning and not an error so you don't have to take it so seriously :)
Besides, in your sources.list you should not be putting those extra repo since with 12.04 (precise) you should be ok. Those extra repos can cause a lot of trouble and interdependency problems if you don't take care.
So, I recommend you to only left your sources.list with the only needed for your distribution:
deb http://download.virtualbox.org/virtualbox/debian precise contrib
Also, you can try to do a package upgrade with sudo apt-get update or sudo apt-get dist-upgrade to see if the version issue dissapear with a libxml upgrade.
Also, you can try to force an update on libxml by issuing sudo apt-get install libxml to see if that solves your warning.
HTH
Are you installing the Extension Pack on the Host system or on the (Virtual) guest system? What is your Host system, assuming Ubuntu-server is the guest OS?
FYI: It should be installed on the Host system, and your regular username thatsme should be added to the vboxusers group
sudo usermod -aG vboxusers thatsme
As for the libxml errors, they should be harmless; feel free to check out this thread on the virtualbox forums, where a user has similar issues.