Y PPA Manager / Удобное управление PPA-репозиториями (комментарии к странице) http://zenway.ru/ Linux -- это интересно Wed, 27 Apr 2011 13:09:39 +0300 en-ru MaxSite CMS (https://max-3000.com/) Copyright 2022, http://zenway.ru/ Andrew к "Y PPA Manager" http://zenway.ru/page/y-ppa-manager#comment-976 http://zenway.ru/page/y-ppa-manager#comment-976 Wed, 27 Apr 2011 15:13:32 +0300 none@none.com (Andrew) Hello,

Thanks for the Y PPA Manager review! Can you please tell me what you've searched for to trigger the error in this screenshot: http://zenway.ru/uploads/04_11/mini/yppamanager_013.png so I can fix it? Thanks!

]]>
ASLok к "Y PPA Manager" http://zenway.ru/page/y-ppa-manager#comment-977 http://zenway.ru/page/y-ppa-manager#comment-977 Wed, 27 Apr 2011 16:17:45 +0300 none@none.com (ASLok) Скриптик написал, а то не удобная эта шняга (

[aslok@3r]2011.04.27-13:40:59:~$ cat bin/aptrepotree 
#!/usr/bin/env bash
T=$(echo -e \\\t)
T2=$T$T
T3=$T$T2
N=$IFS
COLUMNS=190
WIDTH=$[$COLUMNS - 80]
DPKG_L="$(dpkg -l | grep -v ^rc)"
INSTALLED=$(echo "$DPKG_L" | tail -n +8 | cut -d ' ' -f 3)
INSTALLED_VERSIONS=($(echo "$DPKG_L" | tail -n +8 | cut -c 52-108))
for FILE in /etc/apt/sources.list.d/*.list
do
FILE_LINE=$(grep '^deb ' "$FILE")
FILE_HOST=$(echo $FILE_LINE | sed 's|deb http://\([^/]*\).*|\1|')
FILE_DESC=http://$FILE_HOST
if [[ "$FILE_HOST" == ppa.launchpad.net ]]
then
PPA=$(echo $FILE_LINE | sed 's|deb http://ppa\.\([^/]*\)/\([^/]*\)/\([^/]*\).*|ppa:\2/\3|;')
LAUNCHPAD=$(echo $FILE_LINE | sed 's|deb http://ppa\.\([^/]*\)/\([^/]*\)/\([^/]*\).*|https://\1/~\2/+archive/\3|;')
FILE_DESC="$LAUNCHPAD$N $PPA"
fi
echo "$(basename $FILE)$N $FILE_DESC"
[[ -z $FILE_LINE ]] && echo "$T" DISABLED && continue
PACKAGES_CACHE_FILE=/var/lib/apt/lists/$(echo $FILE_LINE | sed 's|/|_|g; s|deb http:__\([^ ]*\) \([^ ]*\) \([^ ]*\).*|\1_dists_\2_\3_binary-amd64_Packages|; s|_\+|_|g;')
if (( $(echo $PACKAGES_CACHE_FILE | wc -w) > 1 ))
then
PACKAGES_CACHE_FILE=/var/lib/apt/lists/$(echo $FILE_LINE | sed 's|/|_|g; s|deb http:__\([^ ]*\) \([^ ]*\).*|\1_\2_Packages|; s|_\+|_|g;')
fi
PACKAGES=$(grep ^Package: $PACKAGES_CACHE_FILE | cut -f 2 -d ' ')
PACKAGES_VERSIONS=($(grep ^Version: $PACKAGES_CACHE_FILE | cut -f 2 -d ' '))
FROM_CURRENT=''
FROM_OTHER=''
NOT_UPDATED=''
NOT_INSTALLED=''
PACKAGE_KEY=-1
for PACKAGE in $PACKAGES
do
PACKAGE_KEY=$[$PACKAGE_KEY+1]
PACKAGE_INSTALLED=$(echo "$INSTALLED" | grep -n ^$PACKAGE$)
if [[ -z $PACKAGE_INSTALLED ]]
then
(( $(echo $NOT_INSTALLED | wc -m) < $WIDTH )) && NOT_INSTALLED="$NOT_INSTALLED $PACKAGE"
continue
fi
PACKAGE_INSTALLED_KEY=$[$(echo $PACKAGE_INSTALLED | cut -d ':' -f 1) - 1]
if dpkg --compare-versions ${PACKAGES_VERSIONS[$PACKAGE_KEY]} eq ${INSTALLED_VERSIONS[$PACKAGE_INSTALLED_KEY]}
then
FROM_CURRENT="$FROM_CURRENT $PACKAGE"
(( $(echo $FROM_CURRENT | wc -m) < $WIDTH )) && continue
FROM_CURRENT=$FROM_CURRENT...
break
fi
if dpkg --compare-versions ${PACKAGES_VERSIONS[$PACKAGE_KEY]} gt ${INSTALLED_VERSIONS[$PACKAGE_INSTALLED_KEY]}
then
NOT_UPDATED="$NOT_UPDATED $PACKAGE"
(( $(echo $NOT_UPDATED | wc -m) < $WIDTH )) && continue
NOT_UPDATED=$NOT_UPDATED...
fi
(( $(echo $FROM_OTHER | wc -m) < $WIDTH )) && FROM_OTHER="$FROM_OTHER $PACKAGE"
done
SHOW_INSTALLED=$T
[[ -n $FROM_CURRENT && ( -n $FROM_OTHER || -n $NOT_UPDATED ) ]] && SHOW_INSTALLED=INSTALLED
[[ -n $FROM_OTHER ]] && echo "$T OBSOLETE $T3 $FROM_OTHER"
[[ -n $NOT_UPDATED ]] && echo "$T NOT UPDATED $T3 $NOT_UPDATED"
[[ -n $FROM_CURRENT ]] && echo "$T $SHOW_INSTALLED $T3 $FROM_CURRENT"
[[ -n $NOT_INSTALLED && ( -z $FROM_OTHER && -z $NOT_UPDATED && -z $FROM_CURRENT ) ]] && echo "$T NOT INSTALLED $T3 $NOT_INSTALLED"
[[ -z $FROM_OTHER && -z $NOT_UPDATED && -z $FROM_CURRENT && -z $NOT_INSTALLED ]] && echo "$T NO PACKAGES"
done

Вывод:

[aslok@3r]2011.04.27-15:11:21:~$ aptrepotree
aapo-rantalainen-games-maverick.list
https://launchpad.net/~aapo-rantalainen/+archive/games
ppa:aapo-rantalainen/games
maniadrive
alex-p-notesalexp-maverick.list
https://launchpad.net/~alex-p/+archive/notesalexp
ppa:alex-p/notesalexp
OBSOLETE cuneiform-common
INSTALLED ocrfeeder smplayer rubyripper yagf tesseract-ocr-eng tesseract-ocr screen libleptonica deadbeef
alexey-smirnov-deadbeef-maverick.list
https://launchpad.net/~alexey-smirnov/+archive/deadbeef
ppa:alexey-smirnov/deadbeef
OBSOLETE deadbeef
am-monkeyd-nautilus-elementary-ppa-maverick.list
https://launchpad.net/~am-monkeyd/+archive/nautilus-elementary-ppa
ppa:am-monkeyd/nautilus-elementary-ppa
NOT INSTALLED gir1.0-nautilus-2.0 libnautilus-extension-dev libnautilus-extension1 nautilus nautilus-dbg nautilus-data gloobus-preview
amule-trunk-ppa-maverick.list
https://launchpad.net/~amule-trunk/+archive/ppa
ppa:amule-trunk/ppa
amule-common amule amule-utils amule-utils-gui
atareao-atareao-maverick.list
https://launchpad.net/~atareao/+archive/atareao
ppa:atareao/atareao
picapy
bean123ch-burg-maverick.list
https://launchpad.net/~bean123ch/+archive/burg
ppa:bean123ch/burg
burg-themes-common burg-themes burg burg-common burg-emu burg-pc
billera.eu.list
http://localhost:9977
buc
cairo-dock-team-weekly-maverick.list
https://launchpad.net/~cairo-dock-team/+archive/weekly
ppa:cairo-dock-team/weekly
cairo-dock-core cairo-dock cairo-dock-data cairo-dock-plug-ins cairo-dock-plug-ins-integration cairo-dock-plug-ins-data...
chaoswizard-tvdownloader-maverick.list
https://launchpad.net/~chaoswizard/+archive/tvdownloader
ppa:chaoswizard/tvdownloader
tvdownloader msdl
chromium-daily-ppa-maverick.list
https://launchpad.net/~chromium-daily/+archive/stable
ppa:chromium-daily/stable
chromium-browser chromium-codecs-ffmpeg chromium-browser-inspector chromium-browser-l10n libvpx0
dr-akulavich-ppa-maverick.list
https://launchpad.net/~dr-akulavich/+archive/ppa
ppa:dr-akulavich/ppa
command-not-found command-not-found-data
flacon-ppa-maverick.list
https://launchpad.net/~flacon/+archive/ppa
ppa:flacon/ppa
flacon ttaenc mac
foobnix-player-foobnix-maverick.list
https://launchpad.net/~foobnix-player/+archive/foobnix
ppa:foobnix-player/foobnix
foobnix
freetuxtv-freetuxtv-maverick.list
https://launchpad.net/~freetuxtv/+archive/freetuxtv
ppa:freetuxtv/freetuxtv
freetuxtv
getdeb.list
http://localhost:9977
acetoneiso avidemux avidemux-common avidemux-plugins-common avidemux-plugins-gtk avidemux-plugins-qt avidemux-qt...
gezakovacs-ppa-maverick.list
https://launchpad.net/~gezakovacs/+archive/ppa
ppa:gezakovacs/ppa
unetbootin-translations unetbootin
google-talkplugin.list
http://dl.google.com
google-talkplugin
jd-team-jdownloader-maverick.list
https://launchpad.net/~jd-team/+archive/jdownloader
ppa:jd-team/jdownloader
jdownloader
kubuntu-ppa-backports-maverick.list
https://launchpad.net/~kubuntu-ppa/+archive/backports
ppa:kubuntu-ppa/backports
plasma-scriptengine-python kdebase-workspace-wallpapers kdebase-workspace-data kdebase-workspace systemsettings...
kubuntu-ppa-beta-maverick.list
https://launchpad.net/~kubuntu-ppa/+archive/beta
ppa:kubuntu-ppa/beta
amarok-common amarok-utils amarok libmygpo-qt1
kubuntu-ppa-experimental-maverick.list
https://launchpad.net/~kubuntu-ppa/+archive/experimental
ppa:kubuntu-ppa/experimental
kdepim kjots kdepim-wizards kdepim-strigi-plugins kdepim-kresources kdepim-groupware kalarm kaddressbook akregator...
matthaeus123-mrw-gimp-svn-maverick.list
https://launchpad.net/~matthaeus123/+archive/mrw-gimp-svn
ppa:matthaeus123/mrw-gimp-svn
libgegl-0.0-0 libbabl-0.0-0 gimp-data libilmbase6 libopenexr6 libgimp2.0 gimp
mozillateam-firefox-stable-maverick.list
https://launchpad.net/~mozillateam/+archive/firefox-stable
ppa:mozillateam/firefox-stable
language-pack-ru-base language-pack-ru language-pack-en language-pack-en-base firefox ubufox xul-ext-ubufox
nilarimogard-webupd8-maverick.list
https://launchpad.net/~nilarimogard/+archive/webupd8
ppa:nilarimogard/webupd8
OBSOLETE gimp libgimp2.0 gimp-data
INSTALLED minitube pulseaudio-equalizer umplayer-translations umplayer yad mc ppa-purge
opera.list
http://localhost:9977
opera
pidgin-developers-ppa-maverick.list
https://launchpad.net/~pidgin-developers/+archive/ppa
ppa:pidgin-developers/ppa
libpurple0 pidgin libpurple-bin pidgin-data libgadu3
playonlinux.list
http://localhost:9977
playonlinux
qgoogletranslator-stable-maverick.list
https://launchpad.net/~qgoogletranslator/+archive/stable
ppa:qgoogletranslator/stable
qgoogletranslator
revan-extras.list
http://localhost:9977
OBSOLETE ttf-ubuntu-font-family umplayer yagf
INSTALLED gimp-paint-studio pidgin-embeddedvideo usb-creator-common usb-creator-kde wireless-crda
ripps818-coreavc-maverick.list
https://launchpad.net/~ripps818/+archive/coreavc
ppa:ripps818/coreavc
mplayer
samrog131-ppa-maverick.list
https://launchpad.net/~samrog131/+archive/ppa
ppa:samrog131/ppa
OBSOLETE bangarang
INSTALLED plasma-widget-yasp-scripted gtk2-engines-qtcurve kde-style-qtcurve kwin-style-qtcurve qtcurve plasma-widget-mountoid...
sevenmachines-flash-maverick.list
https://launchpad.net/~sevenmachines/+archive/flash
ppa:sevenmachines/flash
flashplugin64-installer
shkn-xnoise-maverick.list
https://launchpad.net/~shkn/+archive/xnoise
ppa:shkn/xnoise
xnoise
spring-ppa-maverick.list
https://launchpad.net/~spring/+archive/ppa
ppa:spring/ppa
springlobby spring spring-common
stebbins-handbrake-snapshots-maverick.list
https://launchpad.net/~stebbins/+archive/handbrake-snapshots
ppa:stebbins/handbrake-snapshots
handbrake-gtk
sunab-kdenlive-release-maverick.list
https://launchpad.net/~sunab/+archive/kdenlive-release
ppa:sunab/kdenlive-release
kdenlive kdenlive-data frei0r-plugins libmlt++3 libmlt4 melt libmlt-data
tehnick-tehnick-maverick.list
https://launchpad.net/~tehnick/+archive/tehnick
ppa:tehnick/tehnick
q4wine-unstable plasma-widget-cwp
torproject.list
http://localhost:9977
tor tor-geoipdb
ubuntu-audio-dev-ppa-maverick.list
https://launchpad.net/~ubuntu-audio-dev/+archive/ppa
ppa:ubuntu-audio-dev/ppa
OBSOLETE libportaudio2
INSTALLED pulseaudio-utils-dbg pulseaudio-utils pulseaudio-module-zeroconf-dbg pulseaudio-module-zeroconf pulseaudio-module-x11-dbg...
ubuntu-wine-ppa-maverick.list
https://launchpad.net/~ubuntu-wine/+archive/ppa
ppa:ubuntu-wine/ppa
winetricks ia32-libs wine1.2 ttf-symbol-replacement
ubuntu-x-swat-x-updates-maverick.list
https://launchpad.net/~ubuntu-x-swat/+archive/x-updates
ppa:ubuntu-x-swat/x-updates
nvidia-current nvidia-current-modaliases nvidia-settings fglrx-modaliases xserver-xorg-video-intel libdrm-dev...
webkit-team-ppa-maverick.list
https://launchpad.net/~webkit-team/+archive/ppa
ppa:webkit-team/ppa
libwebkit-1.0-2 libwebkit-1.0-common
webupd8team-ubuntu-font-family-maverick.list
https://launchpad.net/~webupd8team/+archive/ubuntu-font-family
ppa:webupd8team/ubuntu-font-family
ttf-ubuntu-font-family
webupd8team-y-ppa-manager-maverick.list
https://launchpad.net/~webupd8team/+archive/y-ppa-manager
ppa:webupd8team/y-ppa-manager
y-ppa-manager yad ppa-purge
[aslok@3r]2011.04.27-15:12:58:~$
]]>
AUNA к "Y PPA Manager" http://zenway.ru/page/y-ppa-manager#comment-978 http://zenway.ru/page/y-ppa-manager#comment-978 Wed, 27 Apr 2011 19:16:01 +0300 none@none.com (AUNA) Andrew... It was empty search / Это был пустой поиск

]]>