PPA's are normally disabled when you upgrade, and must be re-enabled manually. I upgraded to 12.04 about a month ago and I just noticed that while my other PPAs had all been disabled, the Google PPAs were not disabled. Why is this?
PPA's are normally disabled when you upgrade, and must be re-enabled manually. I upgraded to 12.04 about a month ago and I just noticed that while my other PPAs had all been disabled, the Google PPAs were not disabled. Why is this?
(Credit to Jorge Castro for this answer)
The Google packages install a cron job in
/etc/cron.daily/
for custumizing the repository configuration and reenabling the source after a release upgrade.Each Google package will put its own script (or a link to a script) here. For example:
google-musicmanager
,google-chrome
orgoogle-talkplugin
(the latter being a symlink to a script at/opt/google/talkplugin/cron/google-talkplugin
).Here is the description from the google-talkplugin script:
The script will:
# Install the repository signing key
# Update the Google repository if it's not set correctly.
# Add the Google repository to the apt sources.
# Remove our custom sources list file.
and# Detect if the repo config was disabled by distro upgrade and enable if necessary.
Here is the portion of the script that detects and reenables the repo config after a release upgrade.
And here is the
/etc/apt/sources.list.d/google-talkplugin.list
file that is created by the script.