E:malformed entry 46 in list file / etc/ apt / sources.list
I have a red icon with a white line in the middle of it and the above summary is the problem .. I am a novice ubuntu user and could use help correcting this problem .. I can't access the software updater
and don't know what steps to take to resolve this problem ..
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Lew Banelis
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
It seems that you created a wrong entry in one of the configuration files of the package management system.
What is the output of the commands (to be executed in a terminal window)
uname -a
lsb_release -crid
cat -n /etc/apt/
Revision history for this message
|
#2 |
E: Command line option 'a' [from -a] is not understood in combination with
the other options.
lewis@lewis-
On Sun, Jun 19, 2016 at 10:47 AM, Manfred Hampl <
<email address hidden>> wrote:
> Your question #295461 on update-manager in Ubuntu changed:
>
> https:/
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> It seems that you created a wrong entry in one of the configuration
> files of the package management system.
>
> What is the output of the commands (to be executed in a terminal window)
>
> uname -a
> lsb_release -crid
> cat -n /etc/apt/
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
>
> https:/
>
> You received this question notification because you asked the question.
>
Revision history for this message
|
#3 |
What command did you give to receive this error message?
Revision history for this message
|
#4 |
I can't remember what it was I'm sorry .. I typed in the command you gave
. i hope this screenshot may help
[image: Inline image 1]
On Sun, Jun 19, 2016 at 12:22 PM, Manfred Hampl <
<email address hidden>> wrote:
> Your question #295461 on update-manager in Ubuntu changed:
>
> https:/
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> What command did you give to receive this error message?
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
>
> https:/
>
> You received this question notification because you asked the question.
>
Revision history for this message
|
#5 |
Adding screenshots for Launchpad questions does not work.
Please re-try the commands as given (better use copy and paste than retyping), and copy/paste all text in your terminal window back into the Launchpad question document.
Revision history for this message
|
#6 |
I typed this command in the terminal :uname -a
lsb_release -crid
cat -n /etc/apt/
This is what came up in the terminal: E: Command line option 'a' [from -a] is not understood in combination with
the other options.
lewis@lewis-
I'm so sorry I can't be of more help to you .. I'm a novice , I appreciate what
must be frustrating for you in trying to help me..
Revision history for this message
|
#7 |
That should be three commands, with pressing the 'enter' or 'return' key after each of them. Please re-try.
Revision history for this message
|
#8 |
I retried the three commands .. A list with 47 items came up and it's
waiting for another command ..
On Sun, Jun 19, 2016 at 12:51 PM, Manfred Hampl <
<email address hidden>> wrote:
> Your question #295461 on update-manager in Ubuntu changed:
>
> https:/
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> That should be three commands, with pressing the 'enter' or 'return' key
> after each of them. Please re-try.
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
>
> https:/
>
> You received this question notification because you asked the question.
>
Revision history for this message
|
#9 |
Use the terminal window's menu entries "edit - select all" and "edit - copy", and paste all output into this question document that we can see the results.
Revision history for this message
|
#10 |
I typed this command in the terminal :uname -a
lsb_release -crid
cat -n /etc/apt/
This is what came up in the terminal: E: Command line option 'a' [from -a] is not understood in combination with
the other options.
lewis@lewis-
I'm so sorry I can't be of more help to you .. I'm a novice , I appreciate what
must be frustrating for you in trying to help me..
Revision history for this message
|
#11 |
lewis@lewis-
Linux lewis-Satellite
lewis@lewis-
Distributor ID: Ubuntu
Description: Ubuntu 16.04 LTS
Release: 16.04
Codename: xenial
lewis@lewis-
1 # deb cdrom:[Ubuntu 14.10 _Utopic Unicorn_ - Release amd64 (20141022.1)]/ utopic main restricted
2
3 # See http://
4 # newer versions of the distribution.
5 deb http://
6 deb-src http://
7
8 ## Major bug fix updates produced after the final release of the
9 ## distribution.
10 deb http://
11 deb-src http://
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://
17 deb http://
18
19 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
20 ## team, and may not be under a free licence. Please satisfy yourself as to
21 ## your rights to use the software. Also, please note that software in
22 ## multiverse WILL NOT receive any review or updates from the Ubuntu
23 ## security team.
24
25 ## N.B. software from this repository may not have been tested as
26 ## extensively as that contained in the main release, although it includes
27 ## newer versions of some applications which may provide useful features.
28 ## Also, please note that software in backports WILL NOT receive any review
29 ## or updates from the Ubuntu security team.
30 deb http://
31 deb-src http://
32
33 deb http://
34 deb-src http://
35 deb http://
36
37 ## Uncomment the following two lines to add software from Canonical's
38 ## 'partner' repository.
39 ## This software is not part of Ubuntu, but is offered by Canonical and the
40 ## respective vendors as a service to Ubuntu users.
41 deb http://
42 deb-src http://
43
44 deb http://
45 deb-src http://
46 deb http://
47 # deb-src http://
This was what came up when I entered the three commands..
When i entered : lewis@lewis-
> copy"
edit - select all: command not found
lewis@lewis-
The above came up in the terminal
Revision history for this message
|
#12 |
Run:
sudo gedit /etc/apt/
Remove the last 2 lines. Save the new file. Close gedit and run:
sudo apt-get update
Is it now smoother?
Revision history for this message
|
#13 |
I did as you have instructed .. The software updater came up and asked if
I wanted to download updates.. I clicked on install and this appeared
On Sun, Jun 19, 2016 at 2:57 PM, actionparsnip <
<email address hidden>> wrote:
> Your question #295461 on update-manager in Ubuntu changed:
>
> https:/
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> Run:
>
> sudo gedit /etc/apt/
>
> Remove the last 2 lines. Save the new file. Close gedit and run:
>
> sudo apt-get update
>
> Is it now smoother?
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
>
> https:/
>
> You received this question notification because you asked the question.
>
Revision history for this message
|
#14 |
What appeared? Attaching a screen shot to a reply to the automated email doesn't work.
If you close the software centre and run:
sudo apt-get update
sudo apt-get upgrade
What is the output please?
Revision history for this message
|
#15 |
lewis@lewis-
[sudo] password for lewis:
Hit:1 http://
Hit:2 http://
Ign:3 http://
Hit:4 http://
Hit:5 http://
Ign:6 http://
Hit:7 http://
Hit:9 http://
Get:8 http://
Get:10 http://
Fetched 1,536 B in 1s (875 B/s)
W: http://
E: Failed to fetch http://
E: Some index files failed to download. They have been ignored, or old ones used instead.
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
lewis@lewis-
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
lewis@lewis-
Revision history for this message
|
#16 |
I sent a screenshot of the output to launchpad
On Sun, Jun 19, 2016 at 3:52 PM, actionparsnip <
<email address hidden>> wrote:
> Your question #295461 on update-manager in Ubuntu changed:
>
> https:/
>
> Status: Open => Needs information
>
> actionparsnip requested more information:
> What appeared? Attaching a screen shot to a reply to the automated email
> doesn't work.
>
> If you close the software centre and run:
>
> sudo apt-get update
> sudo apt-get upgrade
>
> What is the output please?
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
>
> https:/
>
> You received this question notification because you asked the question.
>
Revision history for this message
|
#17 |
You need to use a service like Imageshack or Dropbox to make a URL of the image, then post that.
If you reboot, does that help. If not then run:
cd $HOME
wget https:/
chmod +x ./fixpackage
sudo ./fixpackage
hope that helps.
Revision history for this message
|
#18 |
i think the problem has been solved .. I want to thank Manfred Haml and
actionparsnip for their diligent efforts at helping me, a novice ubuntu user
who I'm sure was a pain in the butt and frustrating because of my lack of
knowledge and ability to give concise answers and info .. I can't thank you both enough for your help and tolerance of my ignorance..