The officially official Devuan Forum!

You are not logged in.

#1 2021-03-03 05:52:10

Spaceman Spiff
Member
Registered: 2019-03-03
Posts: 30  

(Solved) Mirrors don't work

I just Installed a new 3.10 release. During installation I got Internet but there was a problem with setting up the repos. They look fine but I can't connect.

deb.devuan.org/merged/
deb.devuan.org/devuan/

Synaptic says this:

The repository 'cdrom://[Devuan GNU/Linux 3.1 beowulf amd64 - desktop 20210211] beowulf Release' does not have a Release file.Updating from such a repository can't be done securely, and is therefore disabled by default.See apt-secure(8) manpage for repository creation and user configuration details.Release file for http://deb.devuan.org/merged/dists/beowulf/InRelease is not valid yet (invalid for another 4h 40min 14s). Updates for this repository will not be applied.Release file for http://deb.devuan.org/devuan/dists/beow … /InRelease is not valid yet (invalid for another 4h 39min 27s). Updates for this repository will not be applied.

Last edited by Spaceman Spiff (2021-03-07 04:10:51)

Offline

#2 2021-03-03 12:23:41

dice
Member
Registered: 2020-11-22
Posts: 559  
Website

Re: (Solved) Mirrors don't work

sounds like /etc/apt/sources.list has not got the cdrom line/lines commented out.

This is what my sources list looks like, the cdrom lines should be commented out.

# deb cdrom:[Devuan GNU/Linux 3.1 beowulf amd64 - netinstall 20210211]/ beowulf contrib main non-free

#deb cdrom:[Devuan GNU/Linux 3.1 beowulf amd64 - netinstall 20210211]/ beowulf contrib main non-free

deb http://deb.devuan.org/merged beowulf main non-free contrib
# deb-src http://deb.devuan.org/merged beowulf main non-free contrib

deb http://deb.devuan.org/merged beowulf-security main contrib non-free
# deb-src http://deb.devuan.org/merged beowulf-security main contrib non-free

# beowulf-proposed-updates for ISO testing
deb http://deb.devuan.org/devuan beowulf-proposed-updates main contrib non-free
# deb-src http://deb.devuan.org/devuan beowulf-proposed-updates main contrib non-free

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual

.

Last edited by dice (2021-03-03 12:26:04)

Offline

#3 2021-03-04 01:33:12

Spaceman Spiff
Member
Registered: 2019-03-03
Posts: 30  

Re: (Solved) Mirrors don't work

It looks alright.

# deb cdrom:[Devuan GNU/Linux 3.1 beowulf amd64 - desktop 20210211]/ beowulf contrib main non-free

deb cdrom:[Devuan GNU/Linux 3.1 beowulf amd64 - desktop 20210211]/ beowulf contrib main non-free

deb http://deb.devuan.org/merged/ beowulf main non-free contrib
deb-src http://deb.devuan.org/merged/ beowulf main non-free contrib

# Line commented out by installer because it failed to verify:
# deb http://deb.devuan.org/merged/ beowulf-security main contrib non-free
# Line commented out by installer because it failed to verify:
# deb-src http://deb.devuan.org/merged/ beowulf-security main contrib non-free

# beowulf-proposed-updates for ISO testing
deb http://deb.devuan.org/devuan/ beowulf-proposed-updates main contrib non-free
deb-src http://deb.devuan.org/devuan/ beowulf-proposed-updates non-free contrib main

Last edited by Spaceman Spiff (2021-03-04 01:34:20)

Offline

#4 2021-03-04 02:27:52

Spaceman Spiff
Member
Registered: 2019-03-03
Posts: 30  

Re: (Solved) Mirrors don't work

Commented out the two deb-src repos and it works now.
why would that cause a conflict?

Offline

#5 2021-03-04 04:04:09

dice
Member
Registered: 2020-11-22
Posts: 559  
Website

Re: (Solved) Mirrors don't work

Spaceman Spiff wrote:

Commented out the two deb-src repos and it works now.
why would that cause a conflict?

Looks like they were not formatted correctly?

if you dont need the cdrom lines comment them out, you still have one not commented out. If you dont need src repos comment them out as well, unless you build packages from source?

the only lines you should need are like so...

deb http://deb.devuan.org/merged beowulf main non-free contrib
deb http://deb.devuan.org/merged beowulf-security main contrib non-free
deb http://deb.devuan.org/devuan beowulf-proposed-updates main contrib non-free

if you want source repos then like this ...

deb http://deb.devuan.org/merged beowulf main non-free contrib
deb-src http://deb.devuan.org/merged beowulf main non-free contrib

deb http://deb.devuan.org/merged beowulf-security main contrib non-free
deb-src http://deb.devuan.org/merged beowulf-security main contrib non-free

# beowulf-proposed-updates for ISO testing
deb http://deb.devuan.org/devuan beowulf-proposed-updates main contrib non-free
deb-src http://deb.devuan.org/devuan beowulf-proposed-updates main contrib non-free

Offline

#6 2021-03-05 04:53:19

Spaceman Spiff
Member
Registered: 2019-03-03
Posts: 30  

Re: (Solved) Mirrors don't work

Thanks, Will do. It's just a personal pc.

Offline

#7 2021-03-05 05:41:27

Spaceman Spiff
Member
Registered: 2019-03-03
Posts: 30  

Re: (Solved) Mirrors don't work

Alright I enabled the security repo and now it dosen't work again and gives me this error.

The repository may no longer be available or could not be contacted because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ignored. Check your network connection and ensure the repository address in the preferences is correct.

Release file for http://deb.devuan.org/merged/dists/beowulf/InRelease is not valid yet (invalid for another 4h 59min 53s). Updates for this repository will not be applied.Release file for http://deb.devuan.org/merged/dists/beow … /InRelease is not valid yet (invalid for another 4h 59min 52s). Updates for this repository will not be applied.Release file for http://deb.devuan.org/devuan/dists/beow … /InRelease is not valid yet (invalid for another 4h 59min 2s). Updates for this repository will not be applied.

P.S. I can still install apps from the repos though.

Last edited by Spaceman Spiff (2021-03-05 05:52:10)

Offline

#8 2021-03-05 07:03:05

dice
Member
Registered: 2020-11-22
Posts: 559  
Website

Re: (Solved) Mirrors don't work

Spaceman Spiff wrote:

Alright I enabled the security repo and now it dosen't work again and gives me this error.

The repository may no longer be available or could not be contacted because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ignored. Check your network connection and ensure the repository address in the preferences is correct.

Release file for http://deb.devuan.org/merged/dists/beowulf/InRelease is not valid yet (invalid for another 4h 59min 53s). Updates for this repository will not be applied.Release file for http://deb.devuan.org/merged/dists/beow … /InRelease is not valid yet (invalid for another 4h 59min 52s). Updates for this repository will not be applied.Release file for http://deb.devuan.org/devuan/dists/beow … /InRelease is not valid yet (invalid for another 4h 59min 2s). Updates for this repository will not be applied.

P.S. I can still install apps from the repos though.

can you use code tags and post your /etc/apt/sources.list again please. Perhaps even post up /etc/apt/sources.list.d/ contents if any.

how to use code tags...

see here: https://www.phpbb.com/community/help/bbcode

scroll down to section "Outputting code or fixed width data"

Last edited by dice (2021-03-05 07:05:57)

Offline

#9 2021-03-05 13:28:49

nixer
Member
From: North Carolina, USA
Registered: 2016-11-30
Posts: 185  

Re: (Solved) Mirrors don't work

Release file for http://deb.devuan.org/merged/dists/beowulf/InRelease is not valid yet (invalid for another 4h 59min 53s). Updates for this repository will not be applied.

Back in the days of jessie and ascii, I saw this error a lot after installing a personal refractasnapshot install.  I have not seen it lately with beowulf though.  I always fixed it by using two commands.  First,  reset the current system time in the operating system with:

date --set 13:00:00

The above will set the system time to 1:00 pm.  Adjust the numbers for your time.

Then, reconfigure tz-data with:

dpkg-reconfigure tzdata

This always fixed the above error for me.  Hope this helps.

Last edited by nixer (2021-03-05 13:29:51)

Online

#10 2021-03-05 13:41:38

dice
Member
Registered: 2020-11-22
Posts: 559  
Website

Re: (Solved) Mirrors don't work

^ i had a similar issue when i shredded and zeroed a drive not too long ago and added voidlinux musl-libc.

It must have been a good wipe because upon installation void couldnt pick up the hardware clock or tzdata even though i had set it in the settings during install. Not sure if that is a bug or not. The clock was reset to factory defaults so 2016, nothing would work in regards to updates or using a web browser.

The answer for me was to..

# date -s "Mar 5 2021 23:33:00"

then

# hwclock --systohc

Last edited by dice (2021-03-05 13:50:29)

Offline

#11 2021-03-05 17:24:45

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: (Solved) Mirrors don't work

Use ntp to keep the system time correct and use this to edit your sources:

# apt edit-sources

^ That will perform a syntax check before saving the file (just like visudo).


Brianna Ghey — Rest In Power

Offline

#12 2021-03-06 03:30:24

Spaceman Spiff
Member
Registered: 2019-03-03
Posts: 30  

Re: (Solved) Mirrors don't work

The clock is seven hours off, so this is probably the problem.

Update: Installed ntp clock. It automatically changed to the correct time and synaptic reload problem went away. Thanks, guys!

Last edited by Spaceman Spiff (2021-03-06 03:35:07)

Offline

#13 2021-03-06 08:51:57

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: (Solved) Mirrors don't work

Fantastic news. Please edit the title of the thread (in the first post) and prepend [SOLVED] to help others who encounter this problem.


Brianna Ghey — Rest In Power

Offline

Board footer