Ubuntu 18.04. Can't get access to repositories.
1 Attachment(s)
Hello.
I've installed Ubuntu 18.04 LTS and completed network settings. But network symbol at the top right corner looks like an '?'. I have internet access, but i don't have access to default repositories. Can someone help? |
Quote:
Code:
sudo apt update |
It appears that the question mark is a known bug: https://askubuntu.com/questions/1029...d-of-wifi-icon
That shouldn't affect your software sources though, unless you really do have an intermittent wifi problem that's enough to put your package manager off its stride. It will be interesting to see what output you get from the command that ChuangTzu suggested above. |
1 Attachment(s)
Quote:
ChuangTzu hydrurga Thanks for quick respond. I've deleted Ubintu and installed Debian 9.4.0. And get the same situation. I have internet access and i don't have accsess to reps. sudo command gets me this messages: root@pc:/home/denis/work# sudo apt update Ign:1 cdrom://[Debian GNU/Linux 9.4.0 _Stretch_ - Official i386 DVD Binary-1 20180310-11:55] stretch InRelease Ign:2 cdrom://[Debian GNU/Linux 9.4.0 _Stretch_ - Official i386 DVD Binary-2 20180310-11:55] stretch InRelease Ign:3 cdrom://[Debian GNU/Linux 9.4.0 _Stretch_ - Official i386 DVD Binary-3 20180310-11:55] stretch InRelease Err:4 cdrom://[Debian GNU/Linux 9.4.0 _Stretch_ - Official i386 DVD Binary-1 20180310-11:55] stretch Release Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs Err:5 cdrom://[Debian GNU/Linux 9.4.0 _Stretch_ - Official i386 DVD Binary-2 20180310-11:55] stretch Release Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs Err:6 cdrom://[Debian GNU/Linux 9.4.0 _Stretch_ - Official i386 DVD Binary-3 20180310-11:55] stretch Release Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs 0% [Connecting to prod.debian.map.fastly.net (151.101.36.204)] |
Ok, let's have a look at your software sources.
Code:
cat /etc/apt/sources.list{,.d/*} To the OP: why were you so quick to ditch Ubuntu? Was it because of the software sources problem? |
Quote:
Here is my sources.list file: more /etc/apt/sources.list # # deb cdrom:[Debian GNU/Linux 9.4.0 _Stretch_ - Official i386 DVD Binary-1 20180310-11:55]/ stretch contrib main deb cdrom:[Debian GNU/Linux 9.4.0 _Stretch_ - Official i386 DVD Binary-1 20180310-11:55]/ stretch contrib main deb cdrom:[Debian GNU/Linux 9.4.0 _Stretch_ - Official i386 DVD Binary-2 20180310-11:55]/ stretch contrib main deb cdrom:[Debian GNU/Linux 9.4.0 _Stretch_ - Official i386 DVD Binary-3 20180310-11:55]/ stretch contrib main deb http://security.debian.org/debian-security stretch/updates main contrib deb-src http://security.debian.org/debian-security stretch/updates main contrib # stretch-updates, previously known as 'volatile' # A network mirror was not selected during install. The following entries # are provided as examples, but you should amend them as appropriate # for your mirror of choice. # # deb http://deb.debian.org/debian/ stretch-updates main contrib # deb-src http://deb.debian.org/debian/ stretch-updates main contrib yea... am i right i should move 'deb http...' and 'deb-src...' strings at the top of the file? Directory /etc/apt/sources.list.d/ is empty. >> To the OP: why were you so quick to ditch Ubuntu? Was it because of the software sources problem? No.. of course not. It was some miserable issue that i moved to Debian. I use Ubuntu at my home computer with no any problems. I think both Ububtu and Debian are great distros. |
From https://wiki.debian.org/SourcesList:
Quote:
|
Quote:
this is overkill. (the screenshot shows that op su'd to root first, then used sudo apt...) |
Quote:
This is current version of my sources: # # Repositories links # deb http://deb.debian.org/debian/ stretch main deb-src http://deb.debian.org/debian/ stretch main deb http://deb.debian.org/debian/ stretch-updates main deb-src http://deb.debian.org/debian/ stretch-updates main deb http://security.debian.org/debian-security/ stretch/updates main deb-src http://security.debian.org/debian-security/ stretch/updates main But problem is still exist. Maybe it connection issue, not reps. When I put address: 'http://deb.debian.org/debian/' in to the web browser it works fine, it shows me web page with debian folders. |
Quote:
I used (without sudo) apt update && apt upgrate under the root permissions... But I've got the same. |
Can you please run another apt update to see what it gives.
|
All times are GMT -5. The time now is 07:49 AM. |