The officially official Devuan Forum!

You are not logged in.

#1 2019-09-05 09:03:20

nomorelogic
Member
Registered: 2019-09-05
Posts: 21  

[solved] vpgrp/devuan docker image

hi all

I'm new with devuan and I'd like to make my custom devuan docker image.
The docker image I use to start my customization is vpgrp/devuan but I've some problems

1) unable to install wget:

root@311049c9574d:/home# apt-get install wget
Reading package lists... Done
Building dependency tree... Done
E: Unable to locate package wget

2) unable to install libgtk2.0-dev

apt-get install libgtk2.0-dev
Reading package lists... Done
Building dependency tree... Done
E: Unable to locate package libgtk2.0-dev
E: Couldn't find any package by glob 'libgtk2.0-dev'
E: Couldn't find any package by regex 'libgtk2.0-dev'

Can anyone help me?
Thanks in advance

nomorelogic

Last edited by nomorelogic (2019-09-06 14:11:11)

Offline

#2 2019-09-05 12:21:42

bgstack15
Member
Registered: 2018-02-04
Posts: 205  

Re: [solved] vpgrp/devuan docker image

Can you show us the contents of /etc/apt/sources.list and any files underneath /etc/apt/sources.list.d/ ?


This space intentionally left blank.

Offline

#3 2019-09-05 22:17:21

nomorelogic
Member
Registered: 2019-09-05
Posts: 21  

Re: [solved] vpgrp/devuan docker image

hi bgstack15
follow file contents

/etc/apt/sources.list

deb http://mirror.vpgrp.io/devuan ascii main
deb http://mirror.vpgrp.io/devuan ascii-updates main
deb http://mirror.vpgrp.io/devuan ascii-backports main
deb http://mirror.vpgrp.io/devuan ascii-security main

in /etc/apt/sources.list.d/ I can't find any file

nomorelogic

Offline

#4 2019-09-06 13:39:56

bgstack15
Member
Registered: 2018-02-04
Posts: 205  

Re: [solved] vpgrp/devuan docker image

And another reality check: you did run an apt-get update before trying to install any packages?
What does apt-cache policy get you?

You can go visit that main url from sources.list, and check if the packages exist. However, they are using amprolla just like the main Devuan repos, so they are proxying all the Debian contents that don't need to be customized for our distro.


This space intentionally left blank.

Offline

#5 2019-09-06 14:10:41

nomorelogic
Member
Registered: 2019-09-05
Posts: 21  

Re: [solved] vpgrp/devuan docker image

after apt-get update I've a new error but I think the cause is the same

root@4281eb6b4506:/# apt-get update
Get:1 http://mirror.vpgrp.io/devuan ascii InRelease [439 kB]
Get:2 http://mirror.vpgrp.io/devuan ascii-updates InRelease [150 kB]
Get:3 http://mirror.vpgrp.io/devuan ascii-backports InRelease [150 kB]
Get:4 http://mirror.vpgrp.io/devuan ascii-security InRelease [143 kB]
Get:5 http://mirror.vpgrp.io/devuan ascii/main amd64 Packages [80.9 kB]
Get:6 http://mirror.vpgrp.io/devuan ascii-updates/main amd64 Packages [2000 B]
Get:7 http://mirror.vpgrp.io/devuan ascii-backports/main amd64 Packages [2604 B]
Get:8 http://mirror.vpgrp.io/devuan ascii-security/main amd64 Packages [6928 B]
Fetched 974 kB in 1s (599 kB/s)    
Reading package lists... Done
root@4281eb6b4506:/# apt-get install wget
Reading package lists... Done
Building dependency tree... Done
Package wget is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'wget' has no installation candidate

follow apt-cache policy output

root@4281eb6b4506:/# apt-cache policy
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 http://mirror.vpgrp.io/devuan ascii-security/main amd64 Packages
     release v=2.0,o=None,a=ascii-security,n=None,l=None,c=main,b=amd64
     origin mirror.vpgrp.io
 100 http://mirror.vpgrp.io/devuan ascii-backports/main amd64 Packages
     release v=2.0.0,o=Devuan,a=ascii-backports,n=ascii,l=ascii-backports,c=main,b=amd64
     origin mirror.vpgrp.io
 500 http://mirror.vpgrp.io/devuan ascii-updates/main amd64 Packages
     release v=2.0.0,o=Devuan,a=ascii-updates,n=ascii,l=ascii-updates,c=main,b=amd64
     origin mirror.vpgrp.io
 500 http://mirror.vpgrp.io/devuan ascii/main amd64 Packages
     release v=2.0.0,o=Devuan,a=ascii,n=ascii,l=ascii,c=main,b=amd64
     origin mirror.vpgrp.io
Pinned packages:

after that, I executed

echo deb http://deb.devuan.org/merged ascii          main >>/etc/apt/sources.list
apt-get update

now wget and libgtk2.0-dev are correctly installed

I don't know if replacing the content of /etc/apt/sources.list with

deb http://deb.devuan.org/merged ascii          main
deb http://deb.devuan.org/merged ascii-updates  main
deb http://deb.devuan.org/merged ascii-security main

is a good or a bad idea...

I've another question: does exists an official devuan docker image?

Offline

Board footer