macadarsh
July 29th, 2018, 06:55 AM
whenever I try to install any software I get a same error message.
I have installed Ubuntu on my 32 Gib SanDisk pendrive, (not in live or persistance mode) I used a live cd to boot and (disconnected my internal hard drive) install ubuntu (and bootloader also) on my penDrive.
Everything works fine, I can make new files and save them, next time when i boot again all the previous files, bookmarks, settings etc are there. System is behaving very much same as if a had a normal install on my hard drive. Except this:
I can browse internet using Mozilla Firefox, I use college proxy settings to connect to internet (provided proxy in settings > networks > networks proxy > apply system wide)
but i can not install any program through terminal nor from Ubuntu Software Center.
What is wrong here?
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
mac@macUbuntu:~$ sudo apt-get install vlc
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package vlc
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
mac@macUbuntu:~$ sudo apt-get update
Ign:1 cdrom://Ubuntu 18.04.1 LTS _Bionic Beaver_ - Release amd64 (20180725) bionic InRelease
Err:2 cdrom://Ubuntu 18.04.1 LTS _Bionic Beaver_ - Release amd64 (20180725) bionic 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:3 http://archive.ubuntu.com/ubuntu bionic InRelease
Could not connect to archive.ubuntu.com:80 (91.189.88.161). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:80 (91.189.88.152). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:80 (91.189.88.162). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:80 (91.189.88.149). - connect (111: Connection refused)
Err:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Unable to connect to archive.ubuntu.com:http:
Err:5 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Unable to connect to archive.ubuntu.com:http:
Err:6 http://archive.ubuntu.com/ubuntu bionic-security InRelease
Unable to connect to archive.ubuntu.com:http:
Reading package lists... Done
E: The repository 'cdrom://Ubuntu 18.04.1 LTS _Bionic Beaver_ - Release amd64 (20180725) bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I have installed Ubuntu on my 32 Gib SanDisk pendrive, (not in live or persistance mode) I used a live cd to boot and (disconnected my internal hard drive) install ubuntu (and bootloader also) on my penDrive.
Everything works fine, I can make new files and save them, next time when i boot again all the previous files, bookmarks, settings etc are there. System is behaving very much same as if a had a normal install on my hard drive. Except this:
I can browse internet using Mozilla Firefox, I use college proxy settings to connect to internet (provided proxy in settings > networks > networks proxy > apply system wide)
but i can not install any program through terminal nor from Ubuntu Software Center.
What is wrong here?
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
mac@macUbuntu:~$ sudo apt-get install vlc
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package vlc
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
mac@macUbuntu:~$ sudo apt-get update
Ign:1 cdrom://Ubuntu 18.04.1 LTS _Bionic Beaver_ - Release amd64 (20180725) bionic InRelease
Err:2 cdrom://Ubuntu 18.04.1 LTS _Bionic Beaver_ - Release amd64 (20180725) bionic 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:3 http://archive.ubuntu.com/ubuntu bionic InRelease
Could not connect to archive.ubuntu.com:80 (91.189.88.161). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:80 (91.189.88.152). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:80 (91.189.88.162). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:80 (91.189.88.149). - connect (111: Connection refused)
Err:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Unable to connect to archive.ubuntu.com:http:
Err:5 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Unable to connect to archive.ubuntu.com:http:
Err:6 http://archive.ubuntu.com/ubuntu bionic-security InRelease
Unable to connect to archive.ubuntu.com:http:
Reading package lists... Done
E: The repository 'cdrom://Ubuntu 18.04.1 LTS _Bionic Beaver_ - Release amd64 (20180725) bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------