=== len is now known as Guest58971 | ||
TandyUK | hi guys, were getting an error from cron.daily after the recent update | 12:53 |
---|---|---|
TandyUK | grep: /etc/apt/sources.list.d/mythbuntu-repos.list: No such file or directory | 12:54 |
TandyUK | from /etc/cron.daily/mythbuntu-repos | 12:54 |
TandyUK | what should this file contain, and why has it been removed during the upgrade? | 12:54 |
TandyUK | also the permissions on /var/log/mythtv/jamu.log were incorrect, but ive fixed those | 12:55 |
TandyUK | in fact just found 2 files in that folder, | 12:56 |
TandyUK | root@myth-bedroom:/etc/apt/sources.list.d# cat mythbuntu-repos.list.save | 12:56 |
TandyUK | deb http://ppa.launchpad.net/mythbuntu/0.24/ubuntu natty main | 12:56 |
TandyUK | deb http://ppa.launchpad.net/mythbuntu/testing/ubuntu natty main | 12:56 |
TandyUK | root@myth-bedroom:/etc/apt/sources.list.d# cat mythbuntu-repos.list.distUpgrade | 12:56 |
TandyUK | deb http://ppa.launchpad.net/mythbuntu/0.25/ubuntu oneiric main | 12:56 |
TandyUK | deb http://ppa.launchpad.net/mythbuntu/testing/ubuntu oneiric main | 12:56 |
Zinn | [ppa.launchpad.net] Index of /mythbuntu/0.24/ubuntu | 12:56 |
Zinn | [ppa.launchpad.net] Index of /mythbuntu/testing/ubuntu | 12:56 |
Zinn | [ppa.launchpad.net] Index of /mythbuntu/0.25/ubuntu | 12:56 |
Zinn | [ppa.launchpad.net] Index of /mythbuntu/testing/ubuntu | 12:56 |
TandyUK | which is the correct one for 12.04? | 12:57 |
TandyUK | there is also a file named "mythbuntu-0_25-precise.list" | 12:57 |
TandyUK | you guys really need better testing of upgrades imho | 12:58 |
TandyUK | every time we update the base mythbuntu version there are issues | 12:58 |
dekarl | TandyUK: I think you might be looking for something like "sudo add-apt-repository ppa:mythbuntu/0.25" | 13:05 |
TandyUK | its there though | 13:05 |
TandyUK | its just the daily cronjob referring to the wring file? | 13:06 |
dekarl | no idea what that would do in cron.daily, though | 13:06 |
TandyUK | note ive made 0 changes to this machine, it wasa stock mythbunto 10.04 originaly, and hasbeen upgraded as you guys update mythbuntu | 13:06 |
TandyUK | the cron job is: | 13:07 |
TandyUK | #!/bin/bash | 13:07 |
TandyUK | # Detect if the repo config was disabled by distro upgrade and enable if | 13:07 |
TandyUK | # necessary. | 13:07 |
TandyUK | REPOLINE=$(grep -E "# disabled on upgrade to .*" "/etc/apt/sources.list.d/mythbuntu-repos.list") | 13:07 |
TandyUK | if [ $? -eq 0 ]; then | 13:07 |
TandyUK | DEBIAN_FRONTEND=noninteractive dpkg-reconfigure mythbuntu-repos | 13:07 |
TandyUK | fi | 13:07 |
dekarl | ahh, looks like Ubuntu changed its way of disabling repositories on updates... the script checks for commented out stuff, but now the file is renamed :( ... <- superm1, tgm4883 | 13:08 |
dekarl | I have /etc/apt/sources.list.d/mythbuntu-repos.list.distUpgrade | 13:08 |
TandyUK | yeah i have that file too | 13:09 |
TandyUK | running dpkg-reconfigure mythbuntu-repos returns | 13:09 |
dekarl | and obviously they don't want you to script it as the comment is localised, so grepping for "disabled" does not match "deaktiviert" yeah | 13:09 |
TandyUK | /usr/sbin/dpkg-reconfigure: mythbuntu-repos is broken or not fully installed | 13:09 |
TandyUK | and telling it to update it, wants to install 178MB!! of packages | 13:10 |
TandyUK | for a 1kb text file :S | 13:10 |
TandyUK | er download size that is i mean wtf | 13:10 |
dekarl | its not pulling in other updates, too? | 13:11 |
TandyUK | yeah loads | 13:12 |
TandyUK | but even with | 13:12 |
TandyUK | apt-get upgrade mythbuntu-repos | 13:13 |
dekarl | TandyUK: running 12.04 means updating to mythtv-0.25, too. so thats the correct one, with precise after it | 13:13 |
TandyUK | the list of stuff that will be upgraded doesnt even include the package i told it to upgrade | 13:13 |
TandyUK | ah its been replaced by mythbuntu-common apparantly | 13:14 |
TandyUK | so that old /etc/cron.daily/mythbuntu-repos file is obsolete and can be deleted? | 13:15 |
dekarl | its possible, lets see what the mythbuntu devs think about it | 13:16 |
TandyUK | did you do a clean install of 12.04? | 13:17 |
TandyUK | if so just see if your system has that file or not | 13:17 |
dekarl | no, I updated from 11.04 via 11.10 to 12.04 myself | 13:19 |
TandyUK | ah right | 13:21 |
tgm4883 | TandyUK, delete the cron job | 14:11 |
tgm4883 | it's not used anymore | 14:12 |
=== len is now known as Guest67909 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!