Package Manager Synaptic proxy error

Asked by Eglefino

I read on a Ubuntu/Gnome website on the internet a way to get a free proxy of Gnome, all was written in steps... but what I tried did not work in my case. So I tried to delete what was done, until Synaptic & the Download Center came with the same error... there was no proxy so download/installations were not possible.
I've searched the web to find a solution of the apt-get proxy error. I didn't know that I had a proxy (it's better to give that information), than all my energy to get in a search of a proxy, I even had than not this error too.

Anyway on internet there are enough strange ideas to get to the right solution, most times for a server, but I have a desktop-version. And I could not find in my computer and on the internet where & what my proxy-address is? In another forum was listed that the AT/@ may not written in the apt.conf line, so for me it's all not to understandable

Acquire::http::Proxy "http://username:password@proxyaddress:port";
Acquire::ftp::Proxy "ftp://username:password@proxyproxyaddress:port";

I made the whole list with terminal commands [https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure], below listed:

eglefino@eglefinoPC:~$ ubuntu-support-status
Traceback (most recent call last):
  File "/usr/bin/ubuntu-support-status", line 5, in <module>
    import apt
  File "/usr/lib/python3/dist-packages/apt/__init__.py", line 34, in <module>
    apt_pkg.init_config()
SystemError: E:Syntax error /etc/apt/apt.conf:1: Extra junk after value
eglefino@eglefinoPC:~$ cat /etc/dpkg/dpkg.cfg.d/multiarch
cat: /etc/dpkg/dpkg.cfg.d/multiarch: Bestand of map bestaat niet
eglefino@eglefinoPC:~$ dpkg --print-foreign-architectures
i386
eglefino@eglefinoPC:~$ sudo grep -R proxy /etc/apt/*
[sudo] password for eglefino:
/etc/apt/apt.conf:Acquire::http:: proxy "false";
eglefino@eglefinoPC:~$ grep proxy /etc/environment
http_proxy="http://proxy:8080/"
eglefino@eglefinoPC:~$ echo $http_proxy
http://proxy:8080/
eglefino@eglefinoPC:~$ echo $ftp_proxy

eglefino@eglefinoPC:~$ grep proxy /etc/bash.bashrc
eglefino@eglefinoPC:~$ grep proxy ~/.bashrc
eglefino@eglefinoPC:~$ cat /etc/apt/apt.conf
Acquire::http:: proxy "false";
eglefino@eglefinoPC:~$ sudo fuser -vvv /var/lib/dpkg/lock
eglefino@eglefinoPC:~$ sudo fuser -vvv /var/cache/apt/archives/lock
eglefino@eglefinoPC:~$ uname -a
Linux eglefinoPC 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
eglefino@eglefinoPC:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04 LTS"
eglefino@eglefinoPC:~$ sudo rm /var/lib/apt/lists/lock
eglefino@eglefinoPC:~$ sudo rm /var/cache/apt/archives/lock
eglefino@eglefinoPC:~$ sudo rm /var/lib/dpkg/lock
eglefino@eglefinoPC:~$ sudo touch /var/lib/dpkg/lock
eglefino@eglefinoPC:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
eglefino@eglefinoPC:~$ sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
eglefino@eglefinoPC:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status || sudo cp /var/backups/apt.extended_states.0 /var/lib/dpkg/status
eglefino@eglefinoPC:~$ sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-bad
eglefino@eglefinoPC:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
eglefino@eglefinoPC:~$ sudo rm -rf /var/lib/dpkg/updates/*
eglefino@eglefinoPC:~$ sudo rm -rf /var/lib/apt/lists
eglefino@eglefinoPC:~$ sudo rm /var/cache/apt/*.bin
eglefino@eglefinoPC:~$ sudo mkdir /var/lib/apt/lists
eglefino@eglefinoPC:~$ sudo mkdir /var/lib/apt/lists/partial
eglefino@eglefinoPC:~$ LANG=C;sudo apt-get clean
E: Syntax error /etc/apt/apt.conf:1: Extra junk after value
eglefino@eglefinoPC:~$ LANG=C;sudo apt-get clean
E: Syntax error /etc/apt/apt.conf:1: Extra junk after value
eglefino@eglefinoPC:~$ LANG=C;sudo apt-get --purge autoremove
E: Syntax error /etc/apt/apt.conf:1: Extra junk after value
eglefino@eglefinoPC:~$ LANG=C;sudo apt-get --fix-missing update -o APT::Cache-Limit=100000000
E: Syntax error /etc/apt/apt.conf:1: Extra junk after value
eglefino@eglefinoPC:~$ sudo dpkg --configure -a
eglefino@eglefinoPC:~$ sudo dpkg --clear-avail
eglefino@eglefinoPC:~$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
eglefino@eglefinoPC:~$ LANG=C;sudo apt-get --fix-missing install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
eglefino@eglefinoPC:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=100000000 && sudo apt-get dist-upgrade
Ign http://nl.archive.ubuntu.com trusty InRelease
Ign http://ppa.launchpad.net trusty InRelease
Ign http://nl.archive.ubuntu.com trusty-updates InRelease
Ign http://security.ubuntu.com trusty-security InRelease
Ign http://archive.canonical.com trusty InRelease
Ign http://ppa.launchpad.net trusty InRelease
Ign http://nl.archive.ubuntu.com trusty-backports InRelease
Get:1 http://archive.canonical.com trusty Release.gpg [933 B]
Get:2 http://security.ubuntu.com trusty-security Release.gpg [933 B]
Get:3 http://ppa.launchpad.net trusty Release.gpg [316 B]
Get:4 http://nl.archive.ubuntu.com trusty Release.gpg [933 B]
Get:5 http://archive.canonical.com trusty Release [8257 B]
Get:6 http://ppa.launchpad.net trusty Release.gpg [316 B]
Get:7 http://security.ubuntu.com trusty-security Release [58.5 kB]
Get:8 http://nl.archive.ubuntu.com trusty-updates Release.gpg [933 B]
Get:9 http://nl.archive.ubuntu.com trusty-backports Release.gpg [933 B]
Get:10 http://ppa.launchpad.net trusty Release [14.1 kB]
Get:11 http://deb.opera.com stable InRelease [1963 B]
Get:12 http://archive.canonical.com trusty/partner Sources [1884 B]
Get:13 http://nl.archive.ubuntu.com trusty Release [58.5 kB]
Get:14 http://archive.canonical.com trusty/partner amd64 Packages [2198 B]
Get:15 http://deb.opera.com stable/non-free amd64 Packages [931 B]
Get:16 http://ppa.launchpad.net trusty Release [14.0 kB]
Get:17 http://nl.archive.ubuntu.com trusty-updates Release [58.5 kB]
Get:18 http://archive.canonical.com trusty/partner i386 Packages [3138 B]
Get:19 http://deb.opera.com stable/non-free i386 Packages [933 B]
Get:20 http://security.ubuntu.com trusty-security/main Sources [2642 B]
Get:21 http://ppa.launchpad.net trusty/main amd64 Packages [22.6 kB]
Get:22 http://nl.archive.ubuntu.com trusty-backports Release [58.6 kB]
Get:23 http://security.ubuntu.com trusty-security/restricted Sources [14 B]
Get:24 http://ppa.launchpad.net trusty/main i386 Packages [22.6 kB]
Ign http://deb.opera.com stable/non-free Translation-en
Get:25 http://security.ubuntu.com trusty-security/universe Sources [14 B]
Get:26 http://nl.archive.ubuntu.com trusty/main Sources [1064 kB]
Get:27 http://security.ubuntu.com trusty-security/multiverse Sources [14 B]
Ign http://archive.canonical.com trusty/partner Translation-en
Get:28 http://security.ubuntu.com trusty-security/main amd64 Packages [3866 B]
Get:29 http://security.ubuntu.com trusty-security/restricted amd64 Packages [14 B]
Get:30 http://security.ubuntu.com trusty-security/universe amd64 Packages [1199 B]
Ign http://ppa.launchpad.net trusty/main Translation-en
Get:31 http://security.ubuntu.com trusty-security/multiverse amd64 Packages [14 B]
Ign https://private-ppa.launchpad.net trusty InRelease
Get:32 http://security.ubuntu.com trusty-security/main i386 Packages [3902 B]
Ign https://private-ppa.launchpad.net trusty InRelease
Get:33 http://security.ubuntu.com trusty-security/restricted i386 Packages [14 B]
Ign https://private-ppa.launchpad.net trusty InRelease
Get:34 http://security.ubuntu.com trusty-security/universe i386 Packages [1206 B]
Get:35 http://security.ubuntu.com trusty-security/multiverse i386 Packages [14 B]
Get:36 http://nl.archive.ubuntu.com trusty/restricted Sources [5433 B]
Ign https://private-ppa.launchpad.net trusty InRelease
Get:37 http://nl.archive.ubuntu.com trusty/universe Sources [6399 kB]
Get:38 http://security.ubuntu.com trusty-security/main Translation-en [2355 B]
Ign https://private-ppa.launchpad.net trusty InRelease
Get:39 http://security.ubuntu.com trusty-security/multiverse Translation-en [14 B]
Get:40 http://security.ubuntu.com trusty-security/restricted Translation-en [14 B]
Ign https://private-ppa.launchpad.net trusty InRelease
Get:41 http://security.ubuntu.com trusty-security/universe Translation-en [717 B]
Ign https://private-ppa.launchpad.net trusty InRelease
Get:42 http://nl.archive.ubuntu.com trusty/multiverse Sources [174 kB]
Get:43 http://nl.archive.ubuntu.com trusty/main amd64 Packages [1350 kB]
Get:44 http://nl.archive.ubuntu.com trusty/restricted amd64 Packages [13.0 kB]
Get:45 http://nl.archive.ubuntu.com trusty/universe amd64 Packages [5859 kB]
Ign https://private-ppa.launchpad.net trusty/main Translation-en
Ign https://private-ppa.launchpad.net trusty/main Translation-en
Ign https://private-ppa.launchpad.net trusty/main Translation-en
Get:46 http://nl.archive.ubuntu.com trusty/multiverse amd64 Packages [132 kB]
Ign https://private-ppa.launchpad.net trusty/main Translation-en
Ign https://private-ppa.launchpad.net trusty/main Translation-en
Ign https://private-ppa.launchpad.net trusty/main Translation-en
Ign https://private-ppa.launchpad.net trusty/main Translation-en
Get:47 http://nl.archive.ubuntu.com trusty/main i386 Packages [1348 kB]
Get:48 http://nl.archive.ubuntu.com trusty/restricted i386 Packages [13.4 kB]
Get:49 http://nl.archive.ubuntu.com trusty/universe i386 Packages [5866 kB]
Get:50 http://nl.archive.ubuntu.com trusty/multiverse i386 Packages [134 kB]
Get:51 http://nl.archive.ubuntu.com trusty/main Translation-en [762 kB]
Get:52 http://nl.archive.ubuntu.com trusty/multiverse Translation-en [102 kB]
Get:53 http://nl.archive.ubuntu.com trusty/restricted Translation-en [3457 B]
Get:54 http://nl.archive.ubuntu.com trusty/universe Translation-en [4088 kB]
Get:55 http://nl.archive.ubuntu.com trusty-updates/main Sources [6548 B]
Get:56 http://nl.archive.ubuntu.com trusty-updates/restricted Sources [14 B]
Get:57 http://nl.archive.ubuntu.com trusty-updates/universe Sources [1687 B]
Get:58 http://nl.archive.ubuntu.com trusty-updates/multiverse Sources [1790 B]
Get:59 http://nl.archive.ubuntu.com trusty-updates/main amd64 Packages [14.0 kB]
Get:60 http://nl.archive.ubuntu.com trusty-updates/restricted amd64 Packages [14 B]
Get:61 http://nl.archive.ubuntu.com trusty-updates/universe amd64 Packages [4140 B]
Get:62 http://nl.archive.ubuntu.com trusty-updates/multiverse amd64 Packages [6362 B]
Get:63 http://nl.archive.ubuntu.com trusty-updates/main i386 Packages [12.6 kB]
Get:64 http://nl.archive.ubuntu.com trusty-updates/restricted i386 Packages [14 B]
Get:65 http://nl.archive.ubuntu.com trusty-updates/universe i386 Packages [4165 B]
Get:66 http://nl.archive.ubuntu.com trusty-updates/multiverse i386 Packages [6386 B]
Get:67 http://nl.archive.ubuntu.com trusty-updates/main Translation-en [6921 B]
Get:68 http://nl.archive.ubuntu.com trusty-updates/multiverse Translation-en [3457 B]
Get:69 http://nl.archive.ubuntu.com trusty-updates/restricted Translation-en [14 B]
Get:70 http://nl.archive.ubuntu.com trusty-updates/universe Translation-en [2241 B]
Get:71 http://nl.archive.ubuntu.com trusty-backports/main Sources [14 B]
Get:72 http://nl.archive.ubuntu.com trusty-backports/restricted Sources [14 B]
Get:73 http://nl.archive.ubuntu.com trusty-backports/universe Sources [14 B]
Get:74 http://nl.archive.ubuntu.com trusty-backports/multiverse Sources [14 B]
Get:75 http://nl.archive.ubuntu.com trusty-backports/main amd64 Packages [14 B]
Get:76 http://nl.archive.ubuntu.com trusty-backports/restricted amd64 Packages [14 B]
Get:77 http://nl.archive.ubuntu.com trusty-backports/universe amd64 Packages [14 B]
Get:78 http://nl.archive.ubuntu.com trusty-backports/multiverse amd64 Packages [14 B]
Get:79 http://nl.archive.ubuntu.com trusty-backports/main i386 Packages [14 B]
Get:80 http://nl.archive.ubuntu.com trusty-backports/restricted i386 Packages [14 B]
Get:81 http://nl.archive.ubuntu.com trusty-backports/universe i386 Packages [14 B]
Get:82 http://nl.archive.ubuntu.com trusty-backports/multiverse i386 Packages [14 B]
Get:83 http://nl.archive.ubuntu.com trusty-backports/main Translation-en [14 B]
Get:84 http://nl.archive.ubuntu.com trusty-backports/multiverse Translation-en [14 B]
Get:85 http://nl.archive.ubuntu.com trusty-backports/restricted Translation-en [14 B]
Get:86 http://nl.archive.ubuntu.com trusty-backports/universe Translation-en [14 B]
Fetched 27.8 MB in 12s (2220 kB/s)
W: Failed to fetch http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu/dists/trusty/Release Unable to find expected entry 'deb-src/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.
eglefino@eglefinoPC:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=100000000 && sudo apt-get dist-upgrade
Ign http://nl.archive.ubuntu.com trusty InRelease
Hit http://deb.opera.com stable InRelease
Ign http://ppa.launchpad.net trusty InRelease
Ign http://archive.canonical.com trusty InRelease
Ign http://nl.archive.ubuntu.com trusty-updates InRelease
Ign http://security.ubuntu.com trusty-security InRelease
Ign http://nl.archive.ubuntu.com trusty-backports InRelease
Ign http://ppa.launchpad.net trusty InRelease
Hit http://deb.opera.com stable/non-free amd64 Packages
Hit http://archive.canonical.com trusty Release.gpg
Hit http://security.ubuntu.com trusty-security Release.gpg
Hit http://deb.opera.com stable/non-free i386 Packages
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://nl.archive.ubuntu.com trusty Release.gpg
Hit http://archive.canonical.com trusty Release
Hit http://security.ubuntu.com trusty-security Release
Hit http://nl.archive.ubuntu.com trusty-updates Release.gpg
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://nl.archive.ubuntu.com trusty-backports Release.gpg
Hit http://archive.canonical.com trusty/partner Sources
Hit http://ppa.launchpad.net trusty Release
Hit http://security.ubuntu.com trusty-security/main Sources
Hit http://nl.archive.ubuntu.com trusty Release
Hit http://archive.canonical.com trusty/partner amd64 Packages
Hit http://ppa.launchpad.net trusty Release
Ign http://deb.opera.com stable/non-free Translation-en
Hit http://nl.archive.ubuntu.com trusty-updates Release
Hit http://security.ubuntu.com trusty-security/restricted Sources
Hit http://archive.canonical.com trusty/partner i386 Packages
Hit http://nl.archive.ubuntu.com trusty-backports Release
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://security.ubuntu.com trusty-security/universe Sources
Hit http://nl.archive.ubuntu.com trusty/main Sources
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://security.ubuntu.com trusty-security/multiverse Sources
Hit http://nl.archive.ubuntu.com trusty/restricted Sources
Hit http://nl.archive.ubuntu.com trusty/universe Sources
Hit http://security.ubuntu.com trusty-security/main amd64 Packages
Hit http://nl.archive.ubuntu.com trusty/multiverse Sources
Hit http://security.ubuntu.com trusty-security/restricted amd64 Packages
Hit http://nl.archive.ubuntu.com trusty/main amd64 Packages
Hit http://security.ubuntu.com trusty-security/universe amd64 Packages
Ign http://archive.canonical.com trusty/partner Translation-en
Hit http://nl.archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://security.ubuntu.com trusty-security/multiverse amd64 Packages
Hit http://nl.archive.ubuntu.com trusty/universe amd64 Packages
Ign http://ppa.launchpad.net trusty/main Translation-en
Hit http://nl.archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://security.ubuntu.com trusty-security/main i386 Packages
Ign https://private-ppa.launchpad.net trusty InRelease
Hit http://nl.archive.ubuntu.com trusty/main i386 Packages
Hit http://security.ubuntu.com trusty-security/restricted i386 Packages
Hit http://nl.archive.ubuntu.com trusty/restricted i386 Packages
Ign https://private-ppa.launchpad.net trusty InRelease
Hit http://security.ubuntu.com trusty-security/universe i386 Packages
Ign https://private-ppa.launchpad.net trusty InRelease
Hit http://security.ubuntu.com trusty-security/multiverse i386 Packages
Ign https://private-ppa.launchpad.net trusty InRelease
Hit http://security.ubuntu.com trusty-security/main Translation-en
Ign https://private-ppa.launchpad.net trusty InRelease
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en
Ign https://private-ppa.launchpad.net trusty InRelease
Hit http://nl.archive.ubuntu.com trusty/universe i386 Packages
Hit http://security.ubuntu.com trusty-security/restricted Translation-en
Hit http://nl.archive.ubuntu.com trusty/multiverse i386 Packages
Ign https://private-ppa.launchpad.net trusty InRelease
Hit http://nl.archive.ubuntu.com trusty/main Translation-en
Hit https://private-ppa.launchpad.net trusty Release.gpg
Hit http://nl.archive.ubuntu.com trusty/multiverse Translation-en
Hit https://private-ppa.launchpad.net trusty Release.gpg
Hit http://nl.archive.ubuntu.com trusty/restricted Translation-en
Hit https://private-ppa.launchpad.net trusty Release.gpg
Hit http://nl.archive.ubuntu.com trusty/universe Translation-en
Hit http://security.ubuntu.com trusty-security/universe Translation-en
Hit http://nl.archive.ubuntu.com trusty-updates/main Sources
Hit https://private-ppa.launchpad.net trusty Release.gpg
Hit http://nl.archive.ubuntu.com trusty-updates/restricted Sources
Hit https://private-ppa.launchpad.net trusty Release.gpg
Hit http://nl.archive.ubuntu.com trusty-updates/universe Sources
Hit https://private-ppa.launchpad.net trusty Release.gpg
Hit http://nl.archive.ubuntu.com trusty-updates/multiverse Sources
Hit http://nl.archive.ubuntu.com trusty-updates/main amd64 Packages
Hit https://private-ppa.launchpad.net trusty Release.gpg
Hit http://nl.archive.ubuntu.com trusty-updates/restricted amd64 Packages
Hit https://private-ppa.launchpad.net trusty Release
Hit http://nl.archive.ubuntu.com trusty-updates/universe amd64 Packages
Hit https://private-ppa.launchpad.net trusty Release
Hit http://nl.archive.ubuntu.com trusty-updates/multiverse amd64 Packages
Hit https://private-ppa.launchpad.net trusty Release
Hit https://private-ppa.launchpad.net trusty Release
Hit http://nl.archive.ubuntu.com trusty-updates/main i386 Packages
Hit https://private-ppa.launchpad.net trusty Release
Hit https://private-ppa.launchpad.net trusty Release
Hit http://nl.archive.ubuntu.com trusty-updates/restricted i386 Packages
Hit https://private-ppa.launchpad.net trusty Release
Hit https://private-ppa.launchpad.net trusty/main amd64 Packages
Hit http://nl.archive.ubuntu.com trusty-updates/universe i386 Packages
Hit https://private-ppa.launchpad.net trusty/main i386 Packages
Hit http://nl.archive.ubuntu.com trusty-updates/multiverse i386 Packages
Hit https://private-ppa.launchpad.net trusty/main amd64 Packages
Hit https://private-ppa.launchpad.net trusty/main i386 Packages
Hit http://nl.archive.ubuntu.com trusty-updates/main Translation-en
Hit http://nl.archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit https://private-ppa.launchpad.net trusty/main amd64 Packages
Hit http://nl.archive.ubuntu.com trusty-updates/restricted Translation-en
Hit https://private-ppa.launchpad.net trusty/main i386 Packages
Hit http://nl.archive.ubuntu.com trusty-updates/universe Translation-en
Hit http://nl.archive.ubuntu.com trusty-backports/main Sources
Hit https://private-ppa.launchpad.net trusty/main amd64 Packages
Hit https://private-ppa.launchpad.net trusty/main i386 Packages
Hit http://nl.archive.ubuntu.com trusty-backports/restricted Sources
Hit https://private-ppa.launchpad.net trusty/main amd64 Packages
Hit http://nl.archive.ubuntu.com trusty-backports/universe Sources
Hit https://private-ppa.launchpad.net trusty/main i386 Packages
Hit http://nl.archive.ubuntu.com trusty-backports/multiverse Sources
Hit http://nl.archive.ubuntu.com trusty-backports/main amd64 Packages
Hit https://private-ppa.launchpad.net trusty/main amd64 Packages
Hit http://nl.archive.ubuntu.com trusty-backports/restricted amd64 Packages
Hit http://nl.archive.ubuntu.com trusty-backports/universe amd64 Packages
Hit https://private-ppa.launchpad.net trusty/main i386 Packages
Hit http://nl.archive.ubuntu.com trusty-backports/multiverse amd64 Packages
Hit https://private-ppa.launchpad.net trusty/main amd64 Packages
Hit http://nl.archive.ubuntu.com trusty-backports/main i386 Packages
Hit https://private-ppa.launchpad.net trusty/main i386 Packages
Hit http://nl.archive.ubuntu.com trusty-backports/restricted i386 Packages
Hit http://nl.archive.ubuntu.com trusty-backports/universe i386 Packages
Hit http://nl.archive.ubuntu.com trusty-backports/multiverse i386 Packages
Hit http://nl.archive.ubuntu.com trusty-backports/main Translation-en
Hit http://nl.archive.ubuntu.com trusty-backports/multiverse Translation-en
Hit http://nl.archive.ubuntu.com trusty-backports/restricted Translation-en
Hit http://nl.archive.ubuntu.com trusty-backports/universe Translation-en
Ign https://private-ppa.launchpad.net trusty/main Translation-en
Ign https://private-ppa.launchpad.net trusty/main Translation-en
Ign https://private-ppa.launchpad.net trusty/main Translation-en
Ign https://private-ppa.launchpad.net trusty/main Translation-en
Ign https://private-ppa.launchpad.net trusty/main Translation-en
Ign https://private-ppa.launchpad.net trusty/main Translation-en
Ign https://private-ppa.launchpad.net trusty/main Translation-en
W: Failed to fetch http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu/dists/trusty/Release Unable to find expected entry 'deb-src/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.
eglefino@eglefinoPC:~$

--->I changed in a separate tab of the terminal the only line written in the apt.conf: proxy "false" , because all commands could not delete or change this part of the line !!

eglefino@eglefinoPC:~$ sudo gedit /etc/apt/apt.conf
[sudo] password for eglefino:

(gedit:28677): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files

(gedit:28677): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
eglefino@eglefinoPC:~$

----> From the "Other Software" tab, I disabled the PPA repository of http://ppa.launchpad.net/danielrichter2007/grub-customizer/

I shall wait until an answer will come what to do, sorry if there are language errors, it's not my language [I learned that at school for the last time in 1972].
I started with Ubuntu in January 2012, I came from the Atari/Commodore64 period from circa 1982, all Windows versions till 2012

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of:

grep -R grub /etc/apt/*

Thanks

Revision history for this message
Eglefino (ruudino-k) said :
#2

@actionparsnip /Andrew

I waited on a message of Launchpad, but it was posted in the spam (yahoo terrible), as requested:

eglefino@eglefinoPC:~$ grep -R grub /etc/apt/*
grep: /etc/apt/auth.conf: Toegang geweigerd
/etc/apt/sources.list:# deb-src http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu trusty main deb-src http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu trusty main
/etc/apt/sources.list.d/danielrichter2007-grub-customizer-trusty.list:# deb http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu trusty deb-src http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu trusty main
/etc/apt/sources.list.d/danielrichter2007-grub-customizer-trusty.list:# deb-src http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu trusty main
/etc/apt/sources.list.d/danielrichter2007-grub-customizer-trusty.list.save:deb http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu trusty deb-src http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu trusty main
/etc/apt/sources.list.d/danielrichter2007-grub-customizer-trusty.list.save:# deb-src http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu trusty main
/etc/apt/sources.list.save:# deb-src http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu trusty main deb-src http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu trusty main
grep: /etc/apt/trustdb.gpg: Toegang geweigerd
eglefino@eglefinoPC:~$

Toegang geweigerd= in English 'blocked'

Revision history for this message
Eglefino (ruudino-k) said :
#3

@actionparsnip /Andrew

By the way is it not better for me to re-install Trusty Tahr, because I have now still the beta2- version of 14.04 on my computer and I burned two days ago the original image to a DVD... Are my problems away with a new install? The re-install can I make in steps from the http://help.ubuntu.com, exact URL I don't have for you but I copied the English text.

I don't understand that Daniel Richter is still listed because I deleted it in 'Software Sources' (in Dutch it have another ńew' name and another place too as before).

Something is really wrong because I installed "Xscreensaver" before I got the 'apt-get proxy-error' and it isn't installed (I remember me), even the Gnome screensaver isn't there.... and the ssh map is also empty (was that normal for beta-2).

I have still 2 beans I think, because I only watch/read to get my knowhow/ information about Ubuntu at ubuntu.com and other fora.

Revision history for this message
Manfred Hampl (m-hampl) said :
#4

1. Maybe that gives a hint: "SystemError: E:Syntax error /etc/apt/apt.conf:1: Extra junk after value"
What is the output of
cat -n /etc/apt/apt.conf

2. It seems that there is a problem with line breaks in your sources.list
What is the output of
cat -n /etc/apt/sources.list
cat -n /etc/apt/sources.list.d/danielrichter2007-grub-customizer-trusty.list

Revision history for this message
Eglefino (ruudino-k) said :
#5

@manfred Hampl

Here some outputs as asked for 2 & 1 :

eglefino@eglefinoPC:~$ cat -n /etc/apt/sources.list.d/danielrichter2007-grub-customizer-trusty.list
     1 # deb http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu trusty deb-src http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu trusty main
     2 # deb-src http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu trusty main

cat -n /etc/apt/sources.list
     1 # deb cdrom:[Ubuntu 14.04 LTS _Trusty Tahr_ - Alpha amd64+mac (20140317)]/ trusty 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://nl.archive.ubuntu.com/ubuntu/ trusty main restricted
     6 deb-src http://nl.archive.ubuntu.com/ubuntu/ trusty main restricted
     7
     8 ## Major bug fix updates produced after the final release of the
     9 ## distribution.
    10 deb http://nl.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
    11 deb-src http://nl.archive.ubuntu.com/ubuntu/ trusty-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://nl.archive.ubuntu.com/ubuntu/ trusty universe
    17 deb-src http://nl.archive.ubuntu.com/ubuntu/ trusty universe
    18 deb http://nl.archive.ubuntu.com/ubuntu/ trusty-updates universe
    19 deb-src http://nl.archive.ubuntu.com/ubuntu/ trusty-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://nl.archive.ubuntu.com/ubuntu/ trusty multiverse
    27 deb-src http://nl.archive.ubuntu.com/ubuntu/ trusty multiverse
    28 deb http://nl.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
    29 deb-src http://nl.archive.ubuntu.com/ubuntu/ trusty-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://nl.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
    37 deb-src http://nl.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
    38
    39 deb http://security.ubuntu.com/ubuntu trusty-security main restricted
    40 deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted
    41 deb http://security.ubuntu.com/ubuntu trusty-security universe
    42 deb-src http://security.ubuntu.com/ubuntu trusty-security universe
    43 deb http://security.ubuntu.com/ubuntu trusty-security multiverse
    44 deb-src http://security.ubuntu.com/ubuntu trusty-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 trusty partner
    51 deb-src http://archive.canonical.com/ubuntu trusty partner
    52
    53 ## This software is not part of Ubuntu, but is offered by third-party
    54 ## developers who want to ship their latest software.
    55 # deb http://extras.ubuntu.com/ubuntu trusty main
    56 # deb-src http://extras.ubuntu.com/ubuntu trusty main
    57 # deb-src http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu trusty main deb-src http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu trusty main

eglefino@eglefinoPC:~$ cat -n /etc/apt/apt.conf
     1 Acquire::http::;

By the way yesterday I got the first (automatic) update since a week (since the proxy-error started)

Thanks for your reply.

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#6

1. There are line breaks missing in your apt sources config files:
open a terminal and issue the command

gksudo gedit /etc/apt/sources.list

This should ask for your password and open an editor with the sources.list loaded.
Scroll down to the last line and delete all lines that contain "danielrichter2007"
Save the file and close the editor.

2. Issue the command

gksudo gedit /etc/apt/sources.list.d/danielrichter2007-grub-customizer-trusty.list

In the editor that opens, you will see the following two lines:
# deb http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu trusty deb-src http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu trusty main
# deb-src http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu trusty main

correct them into
# deb http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu trusty main
# deb-src http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu trusty main

(in the first line remove "deb-src" and everything that comes behind until the end of that line)
Save the file and close the editor.

3. The contents of /etc/apt/apt.conf is not as expected.
Just try removing that file
sudo rm /etc/apt/apt.conf
Or do you think that you have to create a proxy entry in that config file? In that case you have to follow the coding guidelines and carefully observe where to put space characters.

4. Finally re-try
LANG=C;sudo apt-get update && sudo apt-get dist-upgrade
and copy/paste all output.

Revision history for this message
Eglefino (ruudino-k) said :
#7

Thanks Manfred Hampl, that solved my question.