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

 

 

 

Debian 9 on Virtualbox: Unable to locate package

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
flashig
Posts: 7
Joined: 2018-04-14 09:06

Debian 9 on Virtualbox: Unable to locate package

#1 Post by flashig »

Hello!

I am new to this forum and I have little experience in setting up Debian.

System Specs: Virtualbox 5.2.8 (Windows 10) ,VM: Debian 9 (64 Bit), HDD: 8GB, RAM: 4GB

I want to install ArangoDB and in order to do that I had to insert new sources in /etc/apt/sources.list.d : arangodb.list
Following rep was included: https://download.arangodb.com/arangodb33/Debian_9.0/

But when I do

Code: Select all

sudo apt-get install arangodb3=3.3.7
I get the error:

Code: Select all

E: unable to locate package arangodb3
The package is included as you can check in the rep itself.
The source.list is untouched and has the default reps.

Do you have a trace to solve this problem or can you explain why I get this error message?
I am very thankful for every help in this matter.

Regards
Last edited by flashig on 2018-04-14 15:05, edited 1 time in total.

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Debian 9 on Virtualbox: Unable to locate package

#2 Post by debiman »

did you run

Code: Select all

apt update
after adding the new source?
also you might want to show us the complete edited sources list. use code tags for code.

flashig
Posts: 7
Joined: 2018-04-14 09:06

Re: Debian 9 on Virtualbox: Unable to locate package

#3 Post by flashig »

debiman wrote:did you run

Code: Select all

apt update
after adding the new source?
also you might want to show us the complete edited sources list. use code tags for code.
yes, I did. Sadly, it didn't solve.

you can see the sources list at this link : https://imgur.com/a/qg6tj

I'm setting up from a completely fresh debian installation. I installed only java, curl and apt-transport-https.

Maybe there is a problem with the "/ /" in:

Code: Select all

deb https://download.arangodb.com/arangodb33/Debian_9.0/ /
Can this be possible?

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Debian 9 on Virtualbox: Unable to locate package

#4 Post by stevepusser »

The output of "apt update" and "apt policy arangodb3" might be most enlightening...
MX Linux packager and developer

flashig
Posts: 7
Joined: 2018-04-14 09:06

Re: Debian 9 on Virtualbox: Unable to locate package

#5 Post by flashig »

stevepusser wrote:The output of "apt update" and "apt policy arangodb3" might be most enlightening...
Here is the (hopefully) enlightening output for both requested commands: https://imgur.com/a/jADYc

Is an additional upgrade required?

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Debian 9 on Virtualbox: Unable to locate package

#6 Post by stevepusser »

As a workaround, you could manually download and install the latest version of the debs from https://download.arangodb.com/arangodb3 ... index.html

I suggest you install gdebi first and use that to install deb files.

I'm stumped as to why the packages don't show up in apt.
MX Linux packager and developer

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Debian 9 on Virtualbox: Unable to locate package

#7 Post by debiman »

flashig wrote:Here is the (hopefully) enlightening output for both requested commands: https://imgur.com/a/jADYc
the output of apt update is fine.
i can only conclude that you are either trying to install the wrong version of arngodb, or that their repositories are messed up.
have you tried simply 'apt install arangodb3'?

also, from now on, you do not need to waste your and our bandwidth with these screenshots; please copy-paste code (i.e. the text) here between code tags.

flashig
Posts: 7
Joined: 2018-04-14 09:06

Re: Debian 9 on Virtualbox: Unable to locate package

#8 Post by flashig »

stevepusser wrote:As a workaround, you could manually download and install the latest version of the debs from https://download.arangodb.com/arangodb3 ... index.html

I suggest you install gdebi first and use that to install deb files.

I'm stumped as to why the packages don't show up in apt.
Okay, I tried it, now we have a new problem: https://imgur.com/a/PFRWa

Just to clarify I installed: debian-9.4.0-amd64-netinst ( https://cdimage.debian.org/debian-cd/cu ... etinst.iso )

To quote arangoDB:
Server
amd64: arangodb3-3.3.7-1_amd64.deb (33 MByte)
on https://www.arangodb.com/download-major/debian/

How is this possible? Do I have to install additional packages/architectures or use another Debian OS?

flashig
Posts: 7
Joined: 2018-04-14 09:06

Re: Debian 9 on Virtualbox: Unable to locate package

#9 Post by flashig »

debiman wrote:
flashig wrote:Here is the (hopefully) enlightening output for both requested commands: https://imgur.com/a/jADYc
the output of apt update is fine.
i can only conclude that you are either trying to install the wrong version of arngodb, or that their repositories are messed up.
have you tried simply 'apt install arangodb3'?

also, from now on, you do not need to waste your and our bandwidth with these screenshots; please copy-paste code (i.e. the text) here between code tags.
Yes, I have.

About your "do not use screenshot because of wasted bandwith"-argument, the pics have around 15kB, so enjoy images and move on :)
if you need code for reproducing, let me know. then I will follow your words.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Debian 9 on Virtualbox: Unable to locate package

#10 Post by stevepusser »

Hmmm...well, install inxi, and then give us the result (please, in a code box if possible) of

Code: Select all

inxi -F
to see if it agrees that your system is amd64.
MX Linux packager and developer

flashig
Posts: 7
Joined: 2018-04-14 09:06

Re: Debian 9 on Virtualbox: Unable to locate package

#11 Post by flashig »

stevepusser wrote:Hmmm...well, install inxi, and then give us the result (please, in a code box if possible) of

Code: Select all

inxi -F
to see if it agrees that your system is amd64.
This is the output of the command above:

Code: Select all

System:    Host: 1io0 Kernel: 4.9.0-6-686-pae i686 (32 bit) Console: tty 1
           Distro: Debian GNU/Linux 9 (stretch)
Machine:   Device: oracle System: innotek product: VirtualBox v: 1.2 serial: 0
           Mobo: Oracle model: VirtualBox v: 1.2 serial: 0
           BIOS: innotek v: VirtualBox date: 12/01/2006
CPU:       Single core Intel Core i7-6700K (-UP-) cache: 8192 KB speed: 4008 MHz (max)
Graphics:  Card: InnoTek Systemberatung VirtualBox Graphics Adapter
           Display Server: N/A driver: N/A tty size: 100x37 Advanced Data: N/A for root out of X
Audio:     Card Intel 82801AA AC'97 Audio Controller driver: snd_intel8x0
           Sound: Advanced Linux Sound Architecture v: k4.9.0-6-686-pae
Network:   Card: Intel 82540EM Gigabit Ethernet Controller driver: e1000
           IF: enp0s3 state: up speed: 1000 Mbps duplex: full mac: 08:00:27:8b:39:43
Drives:    HDD Total Size: 8.6GB (71.2% used)
           ID-1: /dev/sda model: VBOX_HARDDISK size: 8.6GB
Partition: ID-1: / size: 3.7G used: 1.9G (54%) fs: ext4 dev: /dev/dm-0
           ID-2: /boot size: 236M used: 35M (16%) fs: ext2 dev: /dev/sda1
           ID-3: swap-1 size: 4.29GB used: 0.00GB (0%) fs: swap dev: /dev/dm-1
Sensors:   None detected - is lm-sensors installed and configured?
Info:      Processes: 73 Uptime: 1 min Memory: 35.8/4044.9MB Init: systemd runlevel: 5
           Client: Shell (bash) inxi: 2.3.5 
Shows this output some wrong architecture?

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Debian 9 on Virtualbox: Unable to locate package

#12 Post by debiman »

flashig wrote:About your "do not use screenshot because of wasted bandwith"-argument, the pics have around 15kB, so enjoy images and move on :)
In addition to the cruft imgur adds on top, and your effort it takes to upload them, when copy-pasting text is just so much easier... it betrays incompetence.

but yeah, moving on. bye!

flashig
Posts: 7
Joined: 2018-04-14 09:06

Re: Debian 9 on Virtualbox: Unable to locate package

#13 Post by flashig »

debiman wrote:
flashig wrote:About your "do not use screenshot because of wasted bandwith"-argument, the pics have around 15kB, so enjoy images and move on :)
In addition to the cruft imgur adds on top, and your effort it takes to upload them, when copy-pasting text is just so much easier... it betrays incompetence.

but yeah, moving on. bye!
You are too competent for this world in order to accept simple convenience, it betrays arrogance.
But its okay, the universe is luckily not spinning around your being :) bye!

PS: Thanks for your "help" until this point!

Post Reply