it is connecting to college portal, but i'm at home while installing packages in terminal

Asked by chaitanya kumar

it is connecting to college portal, but i'm at home while installing packages in terminal. so what should i do to install something in terminal?

the following is what i tried.

jack@rgukt-TravelMate-4740:~$ ubuntu-support-status

Traceback (most recent call last):
  File "/usr/bin/ubuntu-support-status", line 135, in <module>
    pkg.name, support_tag)
  File "/usr/bin/ubuntu-support-status", line 45, in get_maintenance_status
    raise Exception("No Release file found for %s" % pkgname)
Exception: No Release file found for account-plugin-facebook
jack@rgukt-TravelMate-4740:~$
jack@rgukt-TravelMate-4740:~$
jack@rgukt-TravelMate-4740:~$ ubuntu-support-status
Traceback (most recent call last):
  File "/usr/bin/ubuntu-support-status", line 135, in <module>
    pkg.name, support_tag)
  File "/usr/bin/ubuntu-support-status", line 45, in get_maintenance_status
    raise Exception("No Release file found for %s" % pkgname)
Exception: No Release file found for account-plugin-facebook
jack@rgukt-TravelMate-4740:~$ cat /etc/dpkg/dpkg.cfg.d/multiarch
cat: /etc/dpkg/dpkg.cfg.d/multiarch: No such file or directory
jack@rgukt-TravelMate-4740:~$
jack@rgukt-TravelMate-4740:~$ dpkg --print-foreign-architectures
i386
jack@rgukt-TravelMate-4740:~$
jack@rgukt-TravelMate-4740:~$ ubuntu-support-status
Traceback (most recent call last):
  File "/usr/bin/ubuntu-support-status", line 135, in <module>
    pkg.name, support_tag)
  File "/usr/bin/ubuntu-support-status", line 45, in get_maintenance_status
    raise Exception("No Release file found for %s" % pkgname)
Exception: No Release file found for account-plugin-facebook
jack@rgukt-TravelMate-4740:~$ dpkg --print-foreign-architectures
i386
jack@rgukt-TravelMate-4740:~$ sudo grep -R roxy /etc/apt/*
[sudo] password for jack:
Sorry, try again.
[sudo] password for jack:
/etc/apt/apt.conf:Acquire::http::proxy "http://10.20.3.1:3128/";
/etc/apt/apt.conf:Acquire::https::proxy "https://10.20.3.1:3128/";
/etc/apt/apt.conf:Acquire::ftp::proxy "ftp://10.20.3.1:3128/";
/etc/apt/apt.conf:Acquire::socks::proxy "socks://10.20.3.1:3128/";
jack@rgukt-TravelMate-4740:~$ grep roxy /etc/environment
http_proxy="http://10.20.3.1:3128/"
https_proxy="https://10.20.3.1:3128/"
ftp_proxy="ftp://10.20.3.1:3128/"
socks_proxy="socks://10.20.3.1:3128/"
jack@rgukt-TravelMate-4740:~$
jack@rgukt-TravelMate-4740:~$ echo $http_proxy
http://10.20.3.1:3128/
jack@rgukt-TravelMate-4740:~$
jack@rgukt-TravelMate-4740:~$ echo $ftp_proxy
ftp://10.20.3.1:3128/
jack@rgukt-TravelMate-4740:~$
jack@rgukt-TravelMate-4740:~$ grep roxy /etc/bash.bashrc
jack@rgukt-TravelMate-4740:~$
jack@rgukt-TravelMate-4740:~$ grep roxy ~/.bashrc
jack@rgukt-TravelMate-4740:~$
jack@rgukt-TravelMate-4740:~$ cat /etc/apt/apt.conf
Acquire::http::proxy "http://10.20.3.1:3128/";
Acquire::https::proxy "https://10.20.3.1:3128/";
Acquire::ftp::proxy "ftp://10.20.3.1:3128/";
Acquire::socks::proxy "socks://10.20.3.1:3128/";
jack@rgukt-TravelMate-4740:~$
jack@rgukt-TravelMate-4740:~$ sudo fuser -vvv /var/lib/dpkg/lock
jack@rgukt-TravelMate-4740:~$
jack@rgukt-TravelMate-4740:~$ sudo fuser -vvv /var/cache/apt/archives/lock
jack@rgukt-TravelMate-4740:~$
jack@rgukt-TravelMate-4740:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=15.10
DISTRIB_CODENAME=wily
DISTRIB_DESCRIPTION="Ubuntu 15.10"
jack@rgukt-TravelMate-4740:~$
jack@rgukt-TravelMate-4740:~$ uname -a
Linux rgukt-TravelMate-4740 4.2.0-27-generic #32-Ubuntu SMP Fri Jan 22 04:49:08 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
jack@rgukt-TravelMate-4740:~$
jack@rgukt-TravelMate-4740:~$ sudo rm /var/lib/apt/lists/lock
jack@rgukt-TravelMate-4740:~$
jack@rgukt-TravelMate-4740:~$ sudo rm /var/cache/apt/archives/lock
jack@rgukt-TravelMate-4740:~$
jack@rgukt-TravelMate-4740:~$ sudo rm /var/lib/dpkg/lock
jack@rgukt-TravelMate-4740:~$
jack@rgukt-TravelMate-4740:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
jack@rgukt-TravelMate-4740:~$
jack@rgukt-TravelMate-4740:~$ sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
jack@rgukt-TravelMate-4740:~$
jack@rgukt-TravelMate-4740:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status || sudo cp /var/backups/apt.extended_states.0 /var/lib/dpkg/status
jack@rgukt-TravelMate-4740:~$
jack@rgukt-TravelMate-4740:~$ sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-bad
jack@rgukt-TravelMate-4740:~$
jack@rgukt-TravelMate-4740:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
cp: cannot stat ‘/var/lib/dpkg/available-old’: No such file or directory
jack@rgukt-TravelMate-4740:~$
jack@rgukt-TravelMate-4740:~$ sudo rm -rf /var/lib/dpkg/updates/*
jack@rgukt-TravelMate-4740:~$
jack@rgukt-TravelMate-4740:~$ sudo rm -rf /var/lib/apt/lists
jack@rgukt-TravelMate-4740:~$
jack@rgukt-TravelMate-4740:~$ sudo rm /var/cache/apt/*.bin
jack@rgukt-TravelMate-4740:~$
jack@rgukt-TravelMate-4740:~$ sudo mkdir /var/lib/apt/lists
jack@rgukt-TravelMate-4740:~$
jack@rgukt-TravelMate-4740:~$ sudo mkdir /var/lib/apt/lists/partial
jack@rgukt-TravelMate-4740:~$
jack@rgukt-TravelMate-4740:~$ LANG=C;sudo apt-get clean
jack@rgukt-TravelMate-4740:~$
jack@rgukt-TravelMate-4740:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
jack@rgukt-TravelMate-4740:~$
jack@rgukt-TravelMate-4740:~$ sudo dpkg --configure -a
jack@rgukt-TravelMate-4740:~$
jack@rgukt-TravelMate-4740:~$ sudo dpkg --clear-avail
jack@rgukt-TravelMate-4740:~$
jack@rgukt-TravelMate-4740:~$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  gnome-icon-theme-symbolic kde-l10n-engb libavcodec56 libavformat56
  libavresample2 libavutil54 libboost-python1.55.0 libdvbpsi9 libgtkhtml-4.0-0
  libgtkhtml-4.0-common libgtkhtml-editor-4.0-0 libilmbase6
  libkf5kcmutils-data libkf5kcmutils5 libopenexr6 libpostproc52 libswscale3
  libx264-142 linux-headers-3.19.0-15 linux-headers-3.19.0-15-generic
  linux-image-3.19.0-15-generic linux-image-extra-3.19.0-15-generic
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
jack@rgukt-TravelMate-4740:~$
jack@rgukt-TravelMate-4740:~$ LANG=C;sudo apt-get --fix-missing install
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  gnome-icon-theme-symbolic kde-l10n-engb libavcodec56 libavformat56
  libavresample2 libavutil54 libboost-python1.55.0 libdvbpsi9 libgtkhtml-4.0-0
  libgtkhtml-4.0-common libgtkhtml-editor-4.0-0 libilmbase6
  libkf5kcmutils-data libkf5kcmutils5 libopenexr6 libpostproc52 libswscale3
  libx264-142 linux-headers-3.19.0-15 linux-headers-3.19.0-15-generic
  linux-image-3.19.0-15-generic linux-image-extra-3.19.0-15-generic
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
jack@rgukt-TravelMate-4740:~$
jack@rgukt-TravelMate-4740:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  gnome-icon-theme-symbolic* kde-l10n-engb* libavcodec56* libavformat56*
  libavresample2* libavutil54* libboost-python1.55.0* libdvbpsi9*
  libgtkhtml-4.0-0* libgtkhtml-4.0-common* libgtkhtml-editor-4.0-0*
  libilmbase6* libkf5kcmutils-data* libkf5kcmutils5* libopenexr6*
  libpostproc52* libswscale3* libx264-142* linux-headers-3.19.0-15*
  linux-headers-3.19.0-15-generic* linux-image-3.19.0-15-generic*
  linux-image-extra-3.19.0-15-generic*
0 upgraded, 0 newly installed, 22 to remove and 0 not upgraded.
After this operation, 318 MB disk space will be freed.
Do you want to continue? [Y/n] Y
Abort.
jack@rgukt-TravelMate-4740:~$ LANG=C;sudo apt-get --fix-missing update -o APT::Cache-Limit=100000000
Err http://in.archive.ubuntu.com wily InRelease

Err http://in.archive.ubuntu.com wily-updates InRelease

Err http://in.archive.ubuntu.com wily-backports InRelease

Err http://in.archive.ubuntu.com wily-proposed InRelease

Err http://in.archive.ubuntu.com wily Release.gpg
  Unable to connect to 10.20.3.1:3128:
Err http://in.archive.ubuntu.com wily-updates Release.gpg
  Unable to connect to 10.20.3.1:3128:
Err http://in.archive.ubuntu.com wily-backports Release.gpg
  Unable to connect to 10.20.3.1:3128:
Err http://in.archive.ubuntu.com wily-proposed Release.gpg
  Unable to connect to 10.20.3.1:3128:
Err http://security.ubuntu.com wily-security InRelease

Err http://security.ubuntu.com wily-security Release.gpg
  Unable to connect to 10.20.3.1:3128:
Reading package lists... Done
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/wily/InRelease

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/wily-updates/InRelease

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/wily-backports/InRelease

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/wily-security/InRelease

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/wily-proposed/InRelease

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/wily/Release.gpg Unable to connect to 10.20.3.1:3128:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/wily-updates/Release.gpg Unable to connect to 10.20.3.1:3128:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/wily-backports/Release.gpg Unable to connect to 10.20.3.1:3128:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/wily-proposed/Release.gpg Unable to connect to 10.20.3.1:3128:

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/wily-security/Release.gpg Unable to connect to 10.20.3.1:3128:

W: Some index files failed to download. They have been ignored, or old ones used instead.
jack@rgukt-TravelMate-4740:~$
jack@rgukt-TravelMate-4740:~$ LANG=C;sudo apt-get --fix-missing update -o APT::Cache-Limit=100000000
Err http://security.ubuntu.com wily-security InRelease

Err http://security.ubuntu.com wily-security Release.gpg
  Unable to connect to 10.20.3.1:3128:
Err http://in.archive.ubuntu.com wily InRelease

Err http://in.archive.ubuntu.com wily-updates InRelease

Err http://in.archive.ubuntu.com wily-backports InRelease

Err http://in.archive.ubuntu.com wily-proposed InRelease

Err http://in.archive.ubuntu.com wily Release.gpg
  Unable to connect to 10.20.3.1:3128:
Err http://in.archive.ubuntu.com wily-updates Release.gpg
  Unable to connect to 10.20.3.1:3128:
Err http://in.archive.ubuntu.com wily-backports Release.gpg
  Unable to connect to 10.20.3.1:3128:
Err http://in.archive.ubuntu.com wily-proposed Release.gpg
  Unable to connect to 10.20.3.1:3128:
Reading package lists... Done
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/wily/InRelease

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/wily-updates/InRelease

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/wily-backports/InRelease

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/wily-security/InRelease

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/wily-proposed/InRelease

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/wily-security/Release.gpg Unable to connect to 10.20.3.1:3128:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/wily/Release.gpg Unable to connect to 10.20.3.1:3128:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/wily-updates/Release.gpg Unable to connect to 10.20.3.1:3128:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/wily-backports/Release.gpg Unable to connect to 10.20.3.1:3128:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/wily-proposed/Release.gpg Unable to connect to 10.20.3.1:3128:

W: Some index files failed to download. They have been ignored, or old ones used instead.
jack@rgukt-TravelMate-4740:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=100000000 && sudo apt-get dist-upgrade
Err http://security.ubuntu.com wily-security InRelease

Err http://security.ubuntu.com wily-security Release.gpg
  Unable to connect to 10.20.3.1:3128:
Err http://in.archive.ubuntu.com wily InRelease

Err http://in.archive.ubuntu.com wily-updates InRelease

Err http://in.archive.ubuntu.com wily-backports InRelease

Err http://in.archive.ubuntu.com wily-proposed InRelease

Err http://in.archive.ubuntu.com wily Release.gpg
  Unable to connect to 10.20.3.1:3128:
Err http://in.archive.ubuntu.com wily-updates Release.gpg
  Unable to connect to 10.20.3.1:3128:
Err http://in.archive.ubuntu.com wily-backports Release.gpg
  Unable to connect to 10.20.3.1:3128:
Err http://in.archive.ubuntu.com wily-proposed Release.gpg
  Unable to connect to 10.20.3.1:3128:
Reading package lists... Done
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/wily/InRelease

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/wily-updates/InRelease

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/wily-backports/InRelease

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/wily-security/InRelease

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/wily-proposed/InRelease

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/wily-security/Release.gpg Unable to connect to 10.20.3.1:3128:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/wily/Release.gpg Unable to connect to 10.20.3.1:3128:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/wily-updates/Release.gpg Unable to connect to 10.20.3.1:3128:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/wily-backports/Release.gpg Unable to connect to 10.20.3.1:3128:

W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/wily-proposed/Release.gpg Unable to connect to 10.20.3.1:3128:

W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... The following packages were automatically installed and are no longer required:
  gnome-icon-theme-symbolic kde-l10n-engb libavcodec56 libavformat56
  libavresample2 libavutil54 libboost-python1.55.0 libdvbpsi9 libgtkhtml-4.0-0
  libgtkhtml-4.0-common libgtkhtml-editor-4.0-0 libilmbase6
  libkf5kcmutils-data libkf5kcmutils5 libopenexr6 libpostproc52 libswscale3
  libx264-142 linux-headers-3.19.0-15 linux-headers-3.19.0-15-generic
  linux-image-3.19.0-15-generic linux-image-extra-3.19.0-15-generic
Use 'apt-get autoremove' to remove them.
Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
jack@rgukt-TravelMate-4740:~$
jack@rgukt-TravelMate-4740:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

/etc/apt/sources.list.d/opera-stable.list

     1 # This file makes sure that Opera Browser is kept up-to-date
     2 # as part of regular system upgrades
     3
     4 # deb https://deb.opera.com/opera-stable/ stable non-free #Opera Browser (final releases)

/etc/apt/sources.list.d/skype-stable.list

     1 # deb [arch=amd64] https://repo.skype.com/deb stable main

/etc/apt/sources.list.d/google.list

     1 # deb [arch=amd64] http://dl.google.com/linux/chrome/deb/stable main
     2 # deb [arch=amd64] http://dl.google.com/linux/chrome/deb/stable main
     3 # deb http://dl.google.com/linux/chrome/deb/ stable main
     4 # deb http://dl.google.com/linux/chrome/deb/ stable main

/etc/apt/sources.list.d/google-talkplugin.list

     1 ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
     2 # You may comment out this entry, but any other modifications may be lost.
     3 # deb http://dl.google.com/linux/talkplugin/deb/ stable main

/etc/apt/sources.list

     1 # deb cdrom:[Ubuntu 15.04 _Vivid Vervet_ - Release amd64 (20150422)]/ vivid main restricted
     2
     3 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     4 # newer versions of the distribution.
     5 deb http://in.archive.ubuntu.com/ubuntu/ wily main restricted
     6 deb-src http://in.archive.ubuntu.com/ubuntu/ wily main restricted
     7
     8 ## Major bug fix updates produced after the final release of the
     9 ## distribution.
    10 deb http://in.archive.ubuntu.com/ubuntu/ wily-updates main restricted
    11 deb-src http://in.archive.ubuntu.com/ubuntu/ wily-updates main restricted
    12
    13 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    14 ## team. Also, please note that software in universe WILL NOT receive any
    15 ## review or updates from the Ubuntu security team.
    16 deb http://in.archive.ubuntu.com/ubuntu/ wily universe
    17 deb-src http://in.archive.ubuntu.com/ubuntu/ wily universe
    18 deb http://in.archive.ubuntu.com/ubuntu/ wily-updates universe
    19 deb-src http://in.archive.ubuntu.com/ubuntu/ wily-updates universe
    20
    21 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    22 ## team, and may not be under a free licence. Please satisfy yourself as to
    23 ## your rights to use the software. Also, please note that software in
    24 ## multiverse WILL NOT receive any review or updates from the Ubuntu
    25 ## security team.
    26 deb http://in.archive.ubuntu.com/ubuntu/ wily multiverse
    27 deb-src http://in.archive.ubuntu.com/ubuntu/ wily multiverse
    28 deb http://in.archive.ubuntu.com/ubuntu/ wily-updates multiverse
    29 deb-src http://in.archive.ubuntu.com/ubuntu/ wily-updates multiverse
    30
    31 ## N.B. software from this repository may not have been tested as
    32 ## extensively as that contained in the main release, although it includes
    33 ## newer versions of some applications which may provide useful features.
    34 ## Also, please note that software in backports WILL NOT receive any review
    35 ## or updates from the Ubuntu security team.
    36 deb http://in.archive.ubuntu.com/ubuntu/ wily-backports main restricted universe multiverse
    37 deb-src http://in.archive.ubuntu.com/ubuntu/ wily-backports main restricted universe multiverse
    38
    39 deb http://security.ubuntu.com/ubuntu wily-security main restricted
    40 deb-src http://security.ubuntu.com/ubuntu wily-security main restricted
    41 deb http://security.ubuntu.com/ubuntu wily-security universe
    42 deb-src http://security.ubuntu.com/ubuntu wily-security universe
    43 deb http://security.ubuntu.com/ubuntu wily-security multiverse
    44 deb-src http://security.ubuntu.com/ubuntu wily-security multiverse
    45
    46 ## Uncomment the following two lines to add software from Canonical's
    47 ## 'partner' repository.
    48 ## This software is not part of Ubuntu, but is offered by Canonical and the
    49 ## respective vendors as a service to Ubuntu users.
    50 # deb http://archive.canonical.com/ubuntu vivid partner
    51 # deb-src http://archive.canonical.com/ubuntu vivid partner
    52 deb http://in.archive.ubuntu.com/ubuntu/ wily-proposed multiverse main universe restricted
jack@rgukt-TravelMate-4740:~$
jack@rgukt-TravelMate-4740:~$ sudo dpkg --audit
jack@rgukt-TravelMate-4740:~$

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

I see two issues:

1. Your system is running Ubuntu 15.10 "wily", but support for this release has ended a year ago (July 2016).
You should upgrade to a supported release, e.g. Ubuntu 16.04 "xenial", with support until April 2021.

2. Apparently you have configured your system to use a web proxy (10.20.3.1:3128), but I assume that this web proxy can only be used when connected via the college portal, and the web proxy cannot be accessed when you are at home.
You have to disable the web proxy definition (in the config files /etc/apt/apt.conf and /etc/environment) when you are using the system at home, and you have to re-enable it when you are accessing the web in your college.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

As stated above, you wont get updated anyway.

You can rename /etc/apt/apt.conf and you will not use the proxy but there are no packages for Wily anyway. It's like trying to get updates for Windows 98

Can you help with this problem?

Provide an answer of your own, or ask chaitanya kumar for more information if necessary.

To post a message you must log in.