Sources Software 12.10 (other software)

Asked by Javier Antonio Nisa Avila

When upgrading the distribution 12.04 to 12.10 in the software sources within other software, ppa sources are disabled due to upgrade.
Hitherto normal.

But when you try to re-activate the PPA, you ask for the password, enter it, but accept hard you try to activate them by selecting the checkbox, the checkbox is not activated.
Never can reactivate PPA sources.

Tested on multiple PC's

Question information

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

If you run:

grep dev /etc/apt/sources.list.d/*

What is output?

Thanks

Revision history for this message
Javier Antonio Nisa Avila (javiernisa) said :
#2

/etc/apt/sources.list.d/effie-jayx-turpial-devel-precise.list:# deb http://ppa.launchpad.net/effie-jayx/turpial-devel/ubuntu quantal main # (desactivado en la actualización a quantal)
/etc/apt/sources.list.d/effie-jayx-turpial-devel-precise.list:# deb-src http://ppa.launchpad.net/effie-jayx/turpial-devel/ubuntu quantal main # (desactivado en la actualización a quantal)
/etc/apt/sources.list.d/effie-jayx-turpial-devel-precise.list.distUpgrade:deb http://ppa.launchpad.net/effie-jayx/turpial-devel/ubuntu precise main
/etc/apt/sources.list.d/effie-jayx-turpial-devel-precise.list.distUpgrade:deb-src http://ppa.launchpad.net/effie-jayx/turpial-devel/ubuntu precise main
/etc/apt/sources.list.d/effie-jayx-turpial-devel-precise.list.save:deb http://ppa.launchpad.net/effie-jayx/turpial-devel/ubuntu precise main
/etc/apt/sources.list.d/effie-jayx-turpial-devel-precise.list.save:deb-src http://ppa.launchpad.net/effie-jayx/turpial-devel/ubuntu precise main

But others are more of those who leave, put a link to a screenshot of Software Sources http://ubuntuone.com/7Broiz69A5lGBMysaakJ98

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Seems the PPA doesn't support Quantal:
https://launchpad.net/~effie-jayx/+archive/turpial-devel

I recommend you run:

sudo rm /etc/apt/sources.list.d/effie-jayx-turpial-devel-precise.list*
sudo apt-get update

To remove the PPA

Revision history for this message
Javier Antonio Nisa Avila (javiernisa) said :
#4

I followed the instructions, I rebooted the machine and still the same, unable to select.

I relocated by terminal command and it keeps coming

/etc/apt/sources.list.d/effie-jayx-turpial-devel-precise.list.distUpgrade:deb http://ppa.launchpad.net/effie-jayx/turpial-devel/ubuntu precise main
/etc/apt/sources.list.d/effie-jayx-turpial-devel-precise.list.distUpgrade:deb-src http://ppa.launchpad.net/effie-jayx/turpial-devel/ubuntu precise main
/etc/apt/sources.list.d/effie-jayx-turpial-devel-precise.list.save:deb http://ppa.launchpad.net/effie-jayx/turpial-devel/ubuntu precise main
/etc/apt/sources.list.d/effie-jayx-turpial-devel-precise.list.save:deb-src http://ppa.launchpad.net/effie-jayx/turpial-devel/ubuntu precise main

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

sudo rm /etc/apt/sources.list.d/effie-jayx-turpial-devel-precise.list
sudo rm /etc/apt/sources.list.d/effie-jayx-turpial-devel-precise.list.distUpgrade
sudo rm /etc/apt/sources.list.d/effie-jayx-turpial-devel-precise.list.save

Revision history for this message
Javier Antonio Nisa Avila (javiernisa) said :
#6

I followed the instructions, I rebooted the machine and still the same, unable to select.

I relocated the command by terminal and nothing comes out, but I still can select as indicated in the question.

Revision history for this message
Javier Antonio Nisa Avila (javiernisa) said :
#7

Definitely a bug or something else I can try?

Revision history for this message
jpv2 (jpv2) said :
#8

I have exatly the same problem. I can't re-activate any source after upgrading to 12.10 (not only PPAs). It looks like a bug to me. One time I had a system message about "software-properties-gtk" crash. I see many crash reports on Ubuntu bug tracker. Hopefully fixing the crash will also fix the issue with re-activating sources.

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#9

Hi ,

Please remove ALL the external PPAs from your sources , some of them are not exists , some of them not supporting Quantal (12.10) . This is a matter of the PPAs maintainers I guess.

Open a terminal and do

gksudo software-properties-gtk

at the opened window go to > Software Sources and click one by one the PPAs and [remove] .

Then go back to terminal and give

sudo apt-get update

sudo apt-get dist-upgrade

And hopefully your problem will be solved.

Thanks

Revision history for this message
jpv2 (jpv2) said :
#10

Removing doesn't work either...

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#11

Can you see the names of the PPAs ? From "Other Software" section see the names , cuz we need the names.

Open a terminal and install ppa-purge

sudo apt-get install ppa-purge

Then with the names of PPAs you can remove them with this command

sudo ppa-purge <ppa-name-here>

and finally

sudo apt-get update

sudo apt-get dist-upgrade

Good Luck .

Revision history for this message
jpv2 (jpv2) said :
#12

I suspect that there is something wrong with authorisation. Even if software-properties-gtk is run as root, it thinks it has no privileges to modify sources. When running not as root it asks for root password when I try to change anything, but then it says that I have no rights for changes. Of course my user has administrative role and I can do everything as root in the system.

Revision history for this message
jpv2 (jpv2) said :
#13

I've just spotted your suggestion regarding ppa-purge. I'll give it a try. But I have some purchased soft showing as ppa there. If I remove it, will I loose all my purchases?

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#14

On 10/20/2012 11:21 AM, jpv2 wrote:
> Question #211714 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/211714
>
> jpv2 posted a new comment:
> I suspect that there is something wrong with authorisation. Even if
> software-properties-gtk is run as root, it thinks it has no privileges
> to modify sources. When running not as root it asks for root password
> when I try to change anything, but then it says that I have no rights
> for changes. Of course my user has administrative role and I can do
> everything as root in the system.
>

But the command I gave before

gksudo software-properties-gtk

opens the software sources as root. Of course you have to be a root to
remove or add sources.

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#15

On 10/20/2012 11:26 AM, jpv2 wrote:
> Question #211714 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/211714
>
> jpv2 posted a new comment:
> I've just spotted your suggestion regarding ppa-purge. I'll give it a
> try. But I have some purchased soft showing as ppa there. If I remove
> it, will I loose all my purchases?
>

Hmmm... I'm not sure. Really. If the software installed through this PPA.

Of course if its purchased software I think you can reinstall it.

You can leave the PPA with purchased software and remove the others.

Revision history for this message
jpv2 (jpv2) said :
#16

On removing ppa's thru ppa-purge:

it seems not working:

rafal@rafal2-P5GD1-FM:~$ sudo ppa-purge ppa:otto-kesselgulasch/gimp
Updating packages lists
PPA to be removed: otto-kesselgulasch gimp
Warning: Could not find package list for PPA: otto-kesselgulasch gimp

ppa-purge worked only on xorg-edgers, when I removed their ppa before 12.04-->12.10 upgrade (I saw some warning on their site that I must purge their packages before upgrading system, otherwise upgraded system will be broken, so I did it). I'm not sure why it doesn't work for other ppa's, but I suspect that I simply don't have any packages installed from these PPAs. However I still doubt that having incompatible ppa's is the real culprit. My problem is not software installed from these ppa's working incorrectly. Nothing is broken in my system and I did the same procedure as always when upgrading Ubuntu. Indeed, sometimes some ppa's became incompatible, but it never caused problems with editing sources list itself. In my opinion the problem is software-properties-gtk which is unable to modify anything. It doesn't operate on packages. It operates on sources list only. I remember times when this list could be modified manually in any text editor by commenting/ uncommenting/adding/removing apt lines in for mof "deb http://........". Now they complicated everithing and created this application to manage sources thru GUI, which is very useful, but when it doesn't work I don't know what to do.

Yes, I know that the command "gksudo software-properties-gtk" launches software-properties-gtk as root. That's why I suspect that the problem is with incorrect interpretation of privileges.

Revision history for this message
jpv2 (jpv2) said :
#17

After some investigation I realized, that I can still add new software sources and they work OK. It is just all previously existing entries got broken and don't want te be re-enabled. I will have to add again all the entries that I had in "other software" tab.

Revision history for this message
Javier Antonio Nisa Avila (javiernisa) said :
#18

Exactly, removing and adding back one to one these new PPA's working properly, but that's not a solution, that's a momentary patch should correct the error and recognize it as a bug

Revision history for this message
PabloRQ (pablo-romeroquinteros) said :
#19

Same problem with PPAs.

Revision history for this message
PabloRQ (pablo-romeroquinteros) said :
#20

It seems to be a bug.

PARTIAL SOLUTION

Manually edit the files *.list on /etc/apt/sources.list.d/ and manually remove the # and the comments.

For example:
- From:

# deb http://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu quantal main # (desactivado en la actualización a quantal)
# deb-src http://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu quantal main # (desactivado en la actualización a quantal)

- To:

deb http://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu quantal main
deb-src http://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu quantal main

After that you are able to enable or disable the source from synaptic.

Revision history for this message
wojtek (wojciech-halicki-piszko) said :
#21

Same problem with selecting deactivated software sources occures for me after upgrade from 12.04 to 12.10. I think workarounds are nice, but it should be fixed.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#22

Its you adding a PPA. It is not part of a stock install. There is nothing to fix. If a PPA doesn't support the release you are using then you will get these errors.

Revision history for this message
Paulo J. S. Silva (pjssilva) said :
#23

actionparsnip: I beg to differ.

Even though those are PPA, they can be PPA from purchased software (from the software center, through Canonical). It does not make sense that the upgrade process does not allow for re-enabling such sources.

Actually it always worked until now 12.10. I always had alternative PPAs that were disabled during update and that could be re-enabled afterwards.

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#24

On 10/21/2012 03:41 PM, Paulo J. S. Silva wrote:
> Question #211714 on apt in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/211714
>
> Paulo J. S. Silva posted a new comment:
> actionparsnip: I beg to differ.
>
> Even though those are PPA, they can be PPA from purchased software (from
> the software center, through Canonical). It does not make sense that the
> upgrade process does not allow for re-enabling such sources.
>
> Actually it always worked until now 12.10. I always had alternative PPAs
> that were disabled during update and that could be re-enabled
> afterwards.
>

Lot of PPAs are not maintained yet to work with 12.10 . You have to wait
until the maintainers fix this.

Revision history for this message
Paulo J. S. Silva (pjssilva) said :
#25

This is not the case here. The games I purchased through Ubuntu Software Center are showing as available (at least Braid, Limbo, and Bastion, Supermeatboy, MemoryOwl). If I manually delete the entry for one of those games (by deleting the respective files in /etc/apt/sources.list.d and removing it using "dpgk --purge"), for example Supermeatboy, and try to re-download it through Software center I succeed and a new PPA entry that works with 12.10 is added. Hence at least in Supermeatboy case there is a PPA that works with 12.10. I have just tried it.

This is a bug.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#26

If you add a PPA the release name of the release is read, when you get the next release, all the files in /etc/apt/sources.list.d have the codename changed to the one you update to. If that doesn't exist then this isn't the fault of the OS. YOU have added some 3rd party blob to the OS. If you do not add PPAs to the OS then this will not happen and this is what is expected. If you start messing with the packaging system and get issues then this is not a bug with the system.

If you add file and configs to the OS you can block all network access. Is this a bug with the networking system, no it's not. The user has added something to the OS and it has made the OS misbehave.

You could report a bug but I suspect it will be swiftly rejected.

Youo could make a script to check all the PPAs in the packaging system do not 404 and remove the files that do, it could be added to the OS.

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#27

On 10/21/2012 05:26 PM, Paulo J. S. Silva wrote:
>
> This is a bug.
>

If you believe this is a bug, then report it as a bug. You can close
this question and open a bug.
Developers will decide if this is a bug or not.

Good luck :-)

Revision history for this message
jpv2 (jpv2) said :
#28

NikTh and actionparsnip

All you write is true, but completely irrelevant in this case. We don't have problems with messed packages/OS due to PPAs incompatible with 12.10. We are talking about problem that we can not re-enable entries in "other software" tab. When I try to click them, they apper frozen. It doesn't matter whether the repo is valid or not. I can add totally stupid repo and it will be still accepted by software-properties-gtk as long as apt-line will have correct syntax (e.g. "deb http://repo-that-doesnt-exist-and-is-incompatible-with-quantal.com/ubuntu quantal"). But the entries that were existing before 12.04 --> 12.10 upgrade behave differently - they cannot be enabled or edited. As Paulo J. S. Silva wrote, it always warked until 12.10, but doesn't work now.

Regards

Revision history for this message
PabloRQ (pablo-romeroquinteros) said :
#29

@jpv2,

Could you try the workaround I posted and see if the PPA come back to life (enable/disable)?

Regards,

Revision history for this message
PabloRQ (pablo-romeroquinteros) said :
#30
Revision history for this message
jpv2 (jpv2) said :
#31

@parq (pablo-romeroquinteros)

I have already deleted all old files and created new entries.

Can you help with this problem?

Provide an answer of your own, or ask Javier Antonio Nisa Avila for more information if necessary.

To post a message you must log in.