Author Topic: [Solved] problem with package manager and update notifier  (Read 1007 times)

Offline mmutoo

  • Full Member
  • ***
  • Posts: 96
[Solved] problem with package manager and update notifier
« on: April 10, 2012, 05:39:00 PM »
Hi everybody,
I am using the latest LXDE version. I have two problems which I hope you help me find the solution for:

1) Every time the update notifier tries to check for updates, it pops up an error that says:

"Your internet connection is working, but your default software repository cannot be contacted."

However, I still can reload, and mark all upgrades manually in synaptic which means the repository is accessible.

2) When I use apt-sources-update to find the fastest repository, and it produces the sources.list file. First of all, the file is in ~/repo-speed-test and not home directory while the software says it is in home! Is it a bug or I am missing something. Second, when I open the file, no matter which repo I choose the first two repos:

rpm http://ftp.vim.org/ibiblio/distributions/pclinuxos/megagames/apt/ pclinuxos/2010 megagames
rpm http://ftp.heanet.ie/pub/pclinuxos/apt/ pclinuxos/2010 main updates nonfree kde4 games xfce4

are active and the others are commented. Is it a known bug?

Thanks all
« Last Edit: April 11, 2012, 01:36:57 PM by mmutoo »

Offline Phil

  • Hero Member
  • *****
  • Posts: 738
Re: problem with package manager and update notifier
« Reply #1 on: April 11, 2012, 03:45:20 AM »
Seems odd.

You should only have one repo enabled. Synaptic > Settings > Repositories.
Heanet works for me, and on the file settings check delete all files after installation (to avoid cluttering the disk)
reload, of course.

If that does not work edit /etc/apt/sources so only heanet is not hashed at the start #

I use KDE desktop, and Software Centre > Update Package Sources List off the application launcher menu which seems to fix thins.

After that.....

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3730
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: problem with package manager and update notifier
« Reply #2 on: April 11, 2012, 03:50:35 AM »
If you no pass user, post your sources.list /etc/apt/sources.list ...

From who comes apt-sources-update?

This is not yet working, so far i known  ::). Or i missing something?

Offline mmutoo

  • Full Member
  • ***
  • Posts: 96
Re: problem with package manager and update notifier
« Reply #3 on: April 11, 2012, 06:53:35 AM »
@Phil: I did some tests after I posted this. It seems that the problem is not persistent. However, it seems random! I chose a repository, it worked fine once, then, after a while I have the same error again. From the syndromes (!) I assume something wrong with my internet connection. I do not have problems with it while browsing and as I said, synaptic can connect to the repos. I need to do more tests. I will keep you up to date.

P.S. I used the update tool from the menues. that one works. I mean it changes the repo in sources.list successfully. So, we have one more question to solve. Why update-notifier cannot connect to repos.

@Leivhe: I assume that "PASS" user is kind of promoted user or may be the users who donate to the project. Anyways, I am new enough to be non of these, so here is my sources.list:

# Package repository URL's
# Signed repositories have a [<key>] where <key> is the name of the key
# as it appears in vendors.list. If you remove it, no digital signature check
# will be made.
rpm http://ftp.heanet.ie/pub/pclinuxos/apt/ pclinuxos/2010 main updates nonfree games kde4
rpm http://distro.ibiblio.org/pclinuxos/megagames/apt/ pclinuxos/2010 megagames
# rpm http://distrib-coffee.ipsl.jussieu.fr/pub/linux/pclinuxos/apt/ pclinuxos/2010 main updates nonfree games kde4
# rpm http://ftp.vim.org/ibiblio/distributions/pclinuxos/pclinuxos/apt/ pclinuxos/2010 main updates nonfree games kde4
# rpm http://pclosusers.com/pclosfiles/ pclinuxos/2010 main updates nonfree games kde4
# rpm http://ftp2.ie.freesbie.org/pub/pclinuxos/apt/ pclinuxos/2010 main updates nonfree games kde4

This is the last sources.list since the update tool changed it. As I said above, the update tool can change the repo list now, after I use the "Update Package Sources List" from the menu. About the command apt-sources-update, I saw that when I was searching for a solution for my problem in the forum:

http://www.pclinuxos.com/forum/index.php?topic=101969.0

also:
http://forums.scotsnewsletter.com/lofiversion/index.php/t42061.html

Offline pags

  • Hero Member
  • *****
  • Posts: 2515
  • Keep it clean.
Re: problem with package manager and update notifier
« Reply #4 on: April 11, 2012, 08:55:44 AM »
@Phil: I did some tests after I posted this. It seems that the problem is not persistent. However, it seems random! I chose a repository, it worked fine once, then, after a while I have the same error again. From the syndromes (!) I assume something wrong with my internet connection. I do not have problems with it while browsing and as I said, synaptic can connect to the repos. I need to do more tests. I will keep you up to date.

P.S. I used the update tool from the menues. that one works. I mean it changes the repo in sources.list successfully. So, we have one more question to solve. Why update-notifier cannot connect to repos.

@Leivhe: I assume that "PASS" user is kind of promoted user or may be the users who donate to the project. Anyways, I am new enough to be non of these, so here is my sources.list:

# Package repository URL's
# Signed repositories have a [<key>] where <key> is the name of the key
# as it appears in vendors.list. If you remove it, no digital signature check
# will be made.
rpm http://ftp.heanet.ie/pub/pclinuxos/apt/ pclinuxos/2010 main updates nonfree games kde4
rpm http://distro.ibiblio.org/pclinuxos/megagames/apt/ pclinuxos/2010 megagames
# rpm http://distrib-coffee.ipsl.jussieu.fr/pub/linux/pclinuxos/apt/ pclinuxos/2010 main updates nonfree games kde4
# rpm http://ftp.vim.org/ibiblio/distributions/pclinuxos/pclinuxos/apt/ pclinuxos/2010 main updates nonfree games kde4
# rpm http://pclosusers.com/pclosfiles/ pclinuxos/2010 main updates nonfree games kde4
# rpm http://ftp2.ie.freesbie.org/pub/pclinuxos/apt/ pclinuxos/2010 main updates nonfree games kde4

This is the last sources.list since the update tool changed it. As I said above, the update tool can change the repo list now, after I use the "Update Package Sources List" from the menu. About the command apt-sources-update, I saw that when I was searching for a solution for my problem in the forum:

http://www.pclinuxos.com/forum/index.php?topic=101969.0

also:
http://forums.scotsnewsletter.com/lofiversion/index.php/t42061.html


That looks a little odd:
Code: [Select]
# Package repository URL's, working as of 03/29/2012
#===============================================
# Please enable only ONE (1) entry apart from the megagames repo!!!
#===============================================
rpm http://ftp.vim.org/ibiblio/distributions/pclinuxos/megagames/apt/ pclinuxos/2010 megagames
rpm http://ftp.heanet.ie/pub/pclinuxos/apt/ pclinuxos/2010 main updates nonfree kde4 games xfce4
# rpm http://ftp2.ie.freesbie.org/pub/pclinuxos/apt/ pclinuxos/2010 main updates nonfree kde4 games xfce4
# rpm http://pclinuxos.c3sl.ufpr.br/pclinuxos/apt/ pclinuxos/2010 main updates nonfree kde4 games xfce4
# rpm http://ftp.sh.cvut.cz/MIRRORS/pclinuxos/apt/ pclinuxos/2010 main updates nonfree kde4 games xfce4
# rpm http://mirror.cpsc.ucalgary.ca/mirror/pclinuxos/pclinuxos/apt/ pclinuxos/2010 main updates nonfree kde4 games xfce4
# rpm http://ftp.yz.yamagata-u.ac.jp/pub/linux/pclinuxos/apt/ pclinuxos/2010 main updates nonfree kde4 games xfce4
# rpm http://ftp-srv2.kddilabs.jp/Linux/packages/pclinuxos/pclinuxos/apt/ pclinuxos/2010 main updates nonfree kde4 games xfce4
# rpm http://ftp.jaist.ac.jp/pub/Linux/PCLinuxOS/apt/ pclinuxos/2010 main updates nonfree kde4 games xfce4
# rpm http://kambing.ui.ac.id/pclinuxos/apt/ pclinuxos/2010 main updates nonfree kde4 games xfce4
# rpm http://ftp.belnet.be/mirror/pclinuxonline.com/apt/ pclinuxos/2010 main updates nonfree kde4 games xfce4
# rpm http://ftp.leg.uct.ac.za/pub/linux/pclinuxos/apt/ pclinuxos/2010 main updates nonfree kde4 games xfce4
# rpm http://andrzejl.cyryl.net/ PCLinuxOS/REPO main updates nonfree kde4 games xfce4
# rpm http://mirror.aarnet.edu.au/pub/pclinuxos/pclinuxos/apt/ pclinuxos/2010 main updates nonfree kde4 games xfce4
# rpm http://mirror.internode.on.net/pub/pclinuxos/apt/ pclinuxos/2010 main updates nonfree kde4 games xfce4
# rpm http://ftp.klid.dk/ftp/pclinuxos/apt/ pclinuxos/2010 main updates nonfree kde4 games xfce4
# rpm http://mirrors.xservers.ro/pclinuxos/apt/ pclinuxos/2010 main updates nonfree kde4 games xfce4
# rpm http://distrib-coffee.ipsl.jussieu.fr/pub/linux/pclinuxos/apt/ pclinuxos/2010 main updates nonfree kde4 games xfce4
# rpm http://ftp.cc.uoc.gr/mirrors/linux/pclinuxos/apt/ pclinuxos/2010 main updates nonfree kde4 games xfce4
# rpm http://pclosusers.com/pclosfiles/ pclinuxos/2010 main updates nonfree kde4 games xfce4
# rpm http://ftp.nluug.nl/ibiblio/distributions/pclinuxos/pclinuxos/apt/ pclinuxos/2010 main updates nonfree kde4 games xfce4
# rpm http://ftp.nl.freebsd.org/os/Linux/distr/pclinuxos/pclinuxos/apt/ pclinuxos/2010 main updates nonfree kde4 games xfce4
# rpm http://ftp.vim.org/ibiblio/distributions/pclinuxos/pclinuxos/apt/ pclinuxos/2010 main updates nonfree kde4 games xfce4
# rpm http://pclos.camors.org/apt/ pclinuxos/2010 main updates nonfree kde4 games xfce4
# rpm http://pclinuxos.fi/pub/linux/apt/ 2010 main updates nonfree kde4 games xfce4
# rpm http://na.mirror.garr.it/mirrors/pclinuxos/apt/ pclinuxos/2010 main updates nonfree kde4 games xfce4
# rpm http://distro.ibiblio.org/pclinuxos/pclinuxos/apt/ pclinuxos/2010 main updates nonfree kde4 games xfce4
(notice you do not have the "xfce4" sections)

Are you fully updated?  Did you update your sources-list from Synaptic?

Offline mmutoo

  • Full Member
  • ***
  • Posts: 96
Re: problem with package manager and update notifier
« Reply #5 on: April 11, 2012, 11:31:08 AM »
I updated synaptic again. Still the same sources.list!

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3730
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: problem with package manager and update notifier
« Reply #6 on: April 11, 2012, 11:38:24 AM »
Do you install apt-sources-list, from synaptic?
« Last Edit: April 11, 2012, 12:02:04 PM by Leiche »

Offline mmutoo

  • Full Member
  • ***
  • Posts: 96
Re: problem with package manager and update notifier
« Reply #7 on: April 11, 2012, 12:24:13 PM »
Actually, I do not remember if it was installed or I did install it from synaptic. But when I search it in synaptic, it is there, and it is installed. I can uninstall and reinstall it if you think it will help.

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3730
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: problem with package manager and update notifier
« Reply #8 on: April 11, 2012, 12:29:17 PM »
Make a reinstall, and then restart synaptic...

Offline mmutoo

  • Full Member
  • ***
  • Posts: 96
Re: problem with package manager and update notifier
« Reply #9 on: April 11, 2012, 12:48:09 PM »
OK, I reinstalled apt-sources-list. Now, how can I update the repo list?

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3730
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: problem with package manager and update notifier
« Reply #10 on: April 11, 2012, 12:50:35 PM »
choose one in your neighborhood, that should it doing for you...

When not try the next, or the next, or or...

Works update-notifier now?

Offline mmutoo

  • Full Member
  • ***
  • Posts: 96
Re: problem with package manager and update notifier
« Reply #11 on: April 11, 2012, 01:01:31 PM »
Nop! OK lets debug it. Now, my sources.list has the line:

rpm http://mirror.cpsc.ucalgary.ca/mirror/pclinuxos/pclinuxos/apt/ pclinuxos/2010 main updates nonfree kde4 games xfce4 

and all other lines are commented. stiil update-notifier gives the same error. I think the best thing to do now is to reset everything to find the bug. Is there anywhere I can copy/paste the original sources.list file for PCLOS LXDE? or can anybody send me his/her sources.list for the LXDE version?

P.S. in the main menu, under "software center" there was a link to a program that is described here: http://pclosmag.com/html/Issues/201009/page18.html but I cannot see it now. I think I have uninstalled it. What is the name of the program?

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3730
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: problem with package manager and update notifier
« Reply #12 on: April 11, 2012, 01:06:41 PM »
Repo Speed Test don't working yet..., said it in third post.

Close update-notifier, and start it from a terminal
Code: [Select]
update-notifier-launcher post the output here...

Offline mmutoo

  • Full Member
  • ***
  • Posts: 96
Re: problem with package manager and update notifier
« Reply #13 on: April 11, 2012, 01:25:10 PM »
Ooooops! Sorry Leiche, I missed that part of your post. OK, here is the output:


10 seconds wait to connect repositories
/home/mmutoo/.update-notifier-launcher/NUT directory found



Removed this instance of update-notifier from the log (pid 4976)


The following notifier processes will be killed and removed from the log:
   2607 /usr/bin/update-notifier-launcher: line 31: kill: (2607) - No such process




All pre-existing notifier processes have been killed and removed from the log



This instance of update-notifier-launcher has been logged (pid 4976)
Starting update-notifier..
pop-ups=false
48
/home/mmutoo/.update-notifier-launcher/PID directory found


pid 4995 has been logged for this instance of update-notifier
pop-ups=false
apt-force-yes=false
48
Next update time is Friday the 13. Apr at 3:18PM
update refresh status=true
Active repo: ftp.vim.org
PING ftp.nluug.nl (192.87.102.42) 56(84) bytes of data.
64 bytes from ftp.nluug.nl (192.87.102.42): icmp_req=1 ttl=52 time=113 ms

--- ftp.nluug.nl ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 113.899/113.899/113.899/0.000 ms


Connection to repository server is successful


pop-ups=false
apt-force-yes=false
48
Next update time is Friday the 13. Apr at 3:18PM
update refresh status=true


/home/mmutoo/.update-notifier exists.. removing
/home/mmutoo/.update-notifier removed
New /home/mmutoo/.update-notifier directory created


Updating package sources..
Get:1 http://mirror.cpsc.ucalgary.ca pclinuxos/2010 release [2886B]
Get:2 http://ftp.vim.org pclinuxos/2010 release [503B]
Fetched 3389B in 0s (7339B/s)
Get:1 http://ftp.vim.org pclinuxos/2010/megagames pkglist [10.8kB]
Get:2 http://ftp.vim.org pclinuxos/2010/megagames release [161B]               
Get:3 http://mirror.cpsc.ucalgary.ca pclinuxos/2010/main pkglist [2900kB]     
Get:4 http://mirror.cpsc.ucalgary.ca pclinuxos/2010/main release [161B]       
Get:5 http://mirror.cpsc.ucalgary.ca pclinuxos/2010/updates pkglist [130kB]   
Get:6 http://mirror.cpsc.ucalgary.ca pclinuxos/2010/updates release [161B]     
Get:7 http://mirror.cpsc.ucalgary.ca pclinuxos/2010/nonfree pkglist [55.2kB]   
Get:8 http://mirror.cpsc.ucalgary.ca pclinuxos/2010/nonfree release [161B]     
Get:9 http://mirror.cpsc.ucalgary.ca pclinuxos/2010/kde4 pkglist [163kB]       
Get:10 http://mirror.cpsc.ucalgary.ca pclinuxos/2010/kde4 release [158B]       
Get:11 http://mirror.cpsc.ucalgary.ca pclinuxos/2010/games pkglist [50.1kB]   
Get:12 http://mirror.cpsc.ucalgary.ca pclinuxos/2010/games release [159B]     
Get:13 http://mirror.cpsc.ucalgary.ca pclinuxos/2010/xfce4 pkglist [46.7kB]   
Get:14 http://mirror.cpsc.ucalgary.ca pclinuxos/2010/xfce4 release [158B]     
Fetched 3357kB in 28s (118kB/s)                                               
Reading Package Lists... Done
Building Dependency Tree... Done


Making all-pkg-list


Making new-pkg-list


0 updates available; 140 new packages available.


pop-ups=false
apt-force-yes=false
48
Next update time is Friday the 13. Apr at 3:18PM
update refresh status=true

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3730
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: problem with package manager and update notifier
« Reply #14 on: April 11, 2012, 01:30:43 PM »
How we can see it is working, so where is the problem?