Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

serious repository problems. cant update or download anything


  • Please log in to reply
8 replies to this topic

#1 lacey16

lacey16

  • Members
  • 62 posts
  • OFFLINE
  •  
  • Local time:02:39 AM

Posted 30 April 2016 - 07:58 PM

Hi please see below output of sources list ref. the problems involved. Its difficult to understand why a line referring to a print driver could cause so many problems. Any help would be appreciated.

cat /etc/apt/sources.list
Line 129 deb http://download.ebz.epson.net/dsc/op/stable/debian/ lsb3

Malformed entry 129 in list file /etc/apt/sources.list (Component)
E: The list of sources could not be read.
E: Malformed entry 129 in list file /etc/apt/sources.list (Component)
E: The list of sources could not be read.

Then: Failed to load the package list This is a serious problem. Try again later. If this problem appears again, please report an error to the develop

uncommented: I read on forums to uncomment delete #

This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
52 deb http://archive.canonical.com/ubuntu wily partner                             deleted #
53 deb http://download.ebz.epson.net/dsc/op/stable/debian/ xenial main deleted #

Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.

83 deb http://archive.canonical.com/ubuntu xenial partner                       deleted #
84 -src http://archive.canonical.com/ubuntu xenial partner                       deleted #

Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.

122 deb http://archive.canonical.com/ubuntu wily partner                             deleted #
123 deb http://download.ebz.epson.net/dsc/op/stable/debian/ xenial main deleted #

MORE ERRORS

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

(gedit:6874): Gtk-WARNING **: Attempting to read the recently used resources file at '/home/margaret/.local/share/recently-used.xbel', but the parser failed: Failed to open file '/home/margaret/.local/share/recently-used.xbel': Permission denied.


im not sure if the amendments I made were saved as when clicking "save" there were no options for a destination to save to. Is it possible to rebuild the repositories please. If so how?

similar things are all over the forums due to being told to install lsd dependents when they are not yet ready for 16.04

I have some understanding of how this happened but it is also tied up with being unable to install the epson driver which kept freezing. eventually installed by downloading from epson and installed by cups but still did not work even after installing lbs dependants.  Also from day 1 of the installation the software d/l centre keep saying "software out of date - reload now. click reload, starts then stops asking to check the internet connection which was absolutley fine.

thanks   I have since learned that the driver for wily should be used. ???  I give up


Edited by lacey16, 30 April 2016 - 08:01 PM.


BC AdBot (Login to Remove)

 


#2 MadmanRB

MadmanRB

    Spoon!!!!


  • Members
  • 2,885 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:No time for that when there is evil afoot!
  • Local time:10:39 PM

Posted 30 April 2016 - 11:05 PM

Hrm, did you try sudo dpkg configure a

 

a sources list issue is common in a debian based system if one doesnt edit the sources right


Edited by MadmanRB, 30 April 2016 - 11:06 PM.

You know you want me baby!

Proud Linux user and dual booter.

Proud Vivaldi user.

 

ljxaqg-6.png


#3 lacey16

lacey16
  • Topic Starter

  • Members
  • 62 posts
  • OFFLINE
  •  
  • Local time:02:39 AM

Posted 01 May 2016 - 05:05 AM

what is the code please. sudo dpkg   ??config

 

thanks



#4 Gary R

Gary R

    MRU Admin


  • Malware Response Team
  • 824 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:03:39 AM

Posted 01 May 2016 - 08:15 AM

The code MadmanRB has already given you is pretty much what you needed ...

 

sudo dpkg --configure -a

 

 

http://linux.die.net/man/1/dpkg

 

 

--configure package...|-a|--pending Reconfigure an unpacked package. If -a or --pending is given instead of package, all unpacked but unconfigured packages are configured.

Configuring consists of the following steps:

1. Unpack the conffiles, and at the same time back up the old conffiles, so that they can be restored if something goes wrong.

2. Run postinst script, if provided by the package.

 


#5 pcpunk

pcpunk

  • Members
  • 5,759 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Florida
  • Local time:10:39 PM

Posted 01 May 2016 - 10:03 AM

 

Then: Failed to load the package list This is a serious problem. Try again later. If this problem appears again, please report an error to the develop

If it were me, would try this option first.


sBCcBvM.png

Created by Mike_Walsh

 

KDE, Ruler of all Distro's

eps2.4_m4ster-s1ave.aes_pcpunk_leavemehere

 


#6 Guest_hollowface_*

Guest_hollowface_*

  • Guests
  • OFFLINE
  •  

Posted 01 May 2016 - 03:13 PM

deb http://download.ebz.epson.net/dsc/op/stable/debian/ lsb3

This repository doesn't exist, which is why your fetch of the package list fails. Where did you get this repo from? You should delete this line from your sources list, or at the very least comment it out.

Steps To Delete The Line:
1. In your terminal type:
sudo nano /etc/apt/sources.list
2. Browse to the line, arrow over to the end of the line, and use the backspace key to delete it.
3. Press "control" + "x", type "y", and press "enter".
4. In your terminal type:
sudo apt-get update

Steps To Comment Out The Line:
1. In your terminal type:
sudo nano /etc/apt/sources.list
2. Browse to the line, arrow over to the front of the line, and type:
#
3. Press "control" + "x", type "y", and press "enter".
4. In your terminal type:
sudo apt-get update

There is a repo at:
deb http://download.ebz.epson.net/dsc/op/stable/debian/ lsb3.2 main

According to "http://download.ebz.epson.net/faq/linux/faq_li_00027.html" this repo is for Ubuntu 11.04 or newer. The page was last updated 3-27-2012. According to "http://download.ebz.epson.net/dsc/op/stable/debian/dists/lsb3.2/Release" in the parent directory, the repo was last updated in 2014, and the packages are not limited to Ubuntu or any specific release, but are built in general for LSB-3.2 distros. Browsing the main repo, it seems like the packages are from 2011-2013-ish.

I do not know if the packages in this repo are compatible with Ubuntu 16.04, and wouldn't suggest using it unless you find a confirmation somewhere. Also, note that there is no Release.gpg file in the main repo, so you will get GPG errors if you attempt use it.

similar things are all over the forums due to being told to install lsd dependents when they are not yet ready for 16.04

Ubuntu 15.10 was the last release to offer the lsb package (at that point lsb 4.1) as far as I can see, but it sounds like you already figured that out.
 

#7 lacey16

lacey16
  • Topic Starter

  • Members
  • 62 posts
  • OFFLINE
  •  

Posted 02 May 2016 - 05:54 PM

fao hollowface.  HI Thanks for your reply.  1st  Tried to do as you requested. I have not used nano before and actually expected a seperate text editor to appear Tried to use indicated commands ie. ^ go to lineline number.  ^ next page etc a small open text box appeared in the bottom right corner of screen. input "129"    nothing,  tried "line 129"  nothing, then the box disappeared and input appeared at the top of the terminal but not in a text box. When i tried to close the terminal it said there was a process running.  Waited quite some time.  Nothing to see, no indication what if anything was happening. enlarged the terminal as much as possible, still nothing. waited some more then closed. 

At this point I had not amended anything. Opened nano again and message said  "file /etc/apt/sources.list is being edited by root with nano 2.5.3 PID 1791

There was an option y/n   choose n because at that stage I had not amended anything.  Then tried again.  Could not enlist any of the commands so went through the editor line by line until i found the correct one then deleted and continued with your instructions AND IT WORKED.

 

Well the "no entry" sign has disappeared and it rebooted with no error messages.  Thank you.  

 

opened update software.  error message "software could not be udated. Failed to d/l repository information Check internet connection"

option to try again. Hit this a couple of time and received message will d/l available software  and a lot of software was d/l and installed with no problem but software all up to date did not appear so tried again.   keeps stopping at epz epson/net/dsc/op/stable debian

Same message. click ok. then message "no software updates are available.  PLEASE NOTE This happened when initially trying to update immediately after installing so there has been a problem with this driver from day 1.

 

 note that there is no Release.gpg file in the main repo,

 

 

yes I think this is the filer problem so although the printer is all set up ok print jobs remain on stopped  

 

 

 

  

 

#8 lacey16

lacey16
  • Topic Starter

  • Members
  • 62 posts
  • OFFLINE
  •  
  • Local time:02:39 AM

Posted 02 May 2016 - 06:33 PM

hi madman, gary & Pcpunk    Thank you for your help & advice. I really appreciate it but I choose to try hollowface's method as i thought not having used nano before it would be a good learning curve and also if I failed to get it right i could rebuild the repositories with sudo dpkg configure -a

 

gary this http://linux.die.net/man/1/dpkg  is brilliant thanks and so was this

 

 

--configure package...|-a|--pending Reconfigure an unpacked package. If -a or --pending is given instead of package, all unpacked but unconfigured packages are configured.

Configuring consists of the following steps:

1. Unpack the conffiles, and at the same time back up the old conffiles, so that they can be restored if something goes wrong.

2. Run postinst script, if provided by the package

On the forums  I asked "how to uncomment a line"  Response delete #    your instructions on uncommenting a line is type #  very confusing unless it means adding another # to an existing one.

 

hollowface.   epson driver d/l from epson installed via cups as were the lbs files  Ubuntu 14.04lts on my other pc must have the GPG key as it works fine. Also I did see that lbs 2.3 was frequently used for nvidia inkjet printers but lots of advice on the forums is conflicting as it appears to work for some and not others. I have been told that the driver for wily works on 16.04. May we discuss later how to resolve the driver problem please.

again thank you all for your help.

 



#9 Guest_hollowface_*

Guest_hollowface_*

  • Guests
  • OFFLINE
  •  

Posted 02 May 2016 - 10:41 PM

I have not used nano before and actually expected a seperate text editor to appear

-REF:http://www.bleepingcomputer.com/forums/t/612685/serious-repository-problems-cant-update-or-download-anything/#entry3991758

Nano is commonly used in linux instructions for editing files (especially if root privilidges are being used) since many distros come with Nano pre-installed. If you would prefer to use a graphical text-editor you could use Gedit, but the command for launching it is a bit different since it's a graphical application. While it is possible to run graphical applications with Sudo, it is much more common to use Gksu (which is a front-end for Sudo and Su), but since Gksu is not pre-installed on Ubuntu, I'll stick with Sudo in the steps below.


Warning! Please read this first.

Never use "sudo program-name" for graphical applications on Ubuntu, unless you know what you're doing. Doing so can lead to permission issues on the program's config files for the user who executed Sudo. To launch graphical applications with Sudo, Sudo must be used in a manner that doesn't preserve the user's HOME environmental variable, such as "sudo -i".



Steps To Delete The Line (Using Gedit Rather Than Nano):
1. In your terminal type:

sudo -i gedit /etc/apt/sources.list

2. In Gedit, delete the line in question.
3. In Gedit, click "Save", and then close Gedit.
4. In your terminal type:

sudo apt-get update

Steps To Comment Out The Line (Using Gedit Rather Than Nano):
1. In your terminal type:


sudo -i gedit /etc/apt/sources.list

2. In Gedit, add a # to the beginning of the line in question.
3. In Gedit, click "Save", and then close Gedit.
4. In your terminal type:

sudo apt-get update
Then tried again.  Could not enlist any of the commands so went through the editor line by line until i found the correct one then deleted and continued with your instructions AND IT WORKED.

-REF:http://www.bleepingcomputer.com/forums/t/612685/serious-repository-problems-cant-update-or-download-anything/#entry3991758

Glad to hear you got your repo list fixed. :)
 

 

I have been told that the driver for wily works on 16.04. May we discuss later how to resolve the driver problem please.

-REF:http://www.bleepingcomputer.com/forums/t/612685/serious-repository-problems-cant-update-or-download-anything/#entry3991771

Maybe someone else will have some insights into which driver to use or how to get this one working in 16.04, I don't.


Edited by hollowface, 02 May 2016 - 10:41 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users