Antergos / antergos-packages

PKGBUILD's for antergos packages
114 stars 50 forks source link

Create a dummy package: xorg-mkfontdir #436

Closed manuel-192 closed 5 years ago

manuel-192 commented 5 years ago

Currently Antergos cannot be installed without a workaround of deleting package xorg-mkfontdir from packages.xml. Since people new to Antergos do not know about the workaround, another workaround is to create a dummy package for xorg-mkfontdir and make it available on Antergos mirrors.

AFAIK a dummy package only requires file .PKGINFO with minimal contents, so it is very easy to create.

killajoe commented 5 years ago

https://github.com/Antergos/Cnchi/pull/1130

lots0logs commented 5 years ago

We removed the package from packages.xml on github. Cnchi gets its packages.xml from github. Thus the issue should now be resolved. Please let me know if that's not the case.

lots0logs commented 5 years ago

Actually I found the problem. We were serving the file form master branch. Its fixed now, see: http://install.antergos.com

manuel-192 commented 5 years ago

Just a minute ago I tried installing and the problem still exists.

manuel-192 commented 5 years ago

Actually I found the problem. We were serving the file form master branch. Its fixed now, see: http://install.antergos.com

No, the installer gets it from https://raw.githubusercontent.com/Antergos/Cnchi/master/data/packages.xml which still has xorg-mkfontdir.

You can see it in cnchi source file select_packages.py, line 58 and line 185 (cnchi 0.16.21-2).

killajoe commented 5 years ago

and what is about: https://github.com/Antergos/Cnchi/blob/0.16.x/utils/download_package_list.py having: packages_xml = urllib.request.urlopen('http://install.antergos.com/packages-0.8.xml') what links to: https://raw.githubusercontent.com/Antergos/Cnchi/0.16.x/data/packages.xml Bildschirmfoto vom 2019-03-13 15-52-11

and https://raw.githubusercontent.com/Antergos/Cnchi/master/data/packages.xml Bildschirmfoto vom 2019-03-13 16-04-32

both files have xorg-mkfontdir inside

lots0logs commented 5 years ago

You were getting a cached version of the file. Seems the cache has updated now though. Let me know if you still have trouble.

manuel-192 commented 5 years ago

Just now I tried installing, but the same error. How can we avoid that cache?

Some logs: 2019-03-13 16:05:26 [DEBUG ] Selecting packages... (select_packages.py:93) 2019-03-13 16:05:26 [DEBUG ] Getting url https://raw.githubusercontent.com/Antergos/Cnchi/master/data/packages.xml... (select_packages.py:186) 2019-03-13 16:05:26 [DEBUG ] Starting new HTTPS connection (1): raw.githubusercontent.com:443 (connectionpool.py:813) 2019-03-13 16:05:26 [DEBUG ] https://raw.githubusercontent.com:443 "GET /Antergos/Cnchi/master/data/packages.xml HTTP/1.1" 200 4700 (connectionpool.py:393)

and a bit later:

2019-03-13 16:05:26 [DEBUG ] All features needed packages have been added (select_packages.py:353) 2019-03-13 16:05:26 [DEBUG ] Packages list: exfat-utils,xfce4-whiskermenu-plugin,ipw2100-fw,xorg-xlsatoms,pulseaudio,xorg-xsetroot,nfs-utils,dconf-editor,xorg-xrdb,network-manager-applet,pulseaudio-alsa,acpid,btrfs-progs,xorg-xinit,virtualbox-guest-dkms,xfsprogs,unrar,xorg-xdpyinfo,file-roller,mesa,gtk-xfce-engine,xfburn,grub2-theme-antergos,xorg-xrandr,ipw2200-fw,pavucontrol,net-tools,xorg-setxkbmap,virtualbox-guest-utils,dmraid,gamin,whois,gnome-disk-utility,gstreamer-vaapi,thunar,ttf-bitstream-vera,gtk-engine-murrine,numix-icon-theme,light-locker-settings,openssh,xorg-xprop,nilfs-utils,ttf-dejavu,os-prober,mesa-vdpau,gst-plugins-good,networkmanager-openvpn,bash-completion,tar,xorg-bdftopcf,xorg-xauth,networkmanager-pptp,e2fsprogs,xf86-input-libinput,reiserfsprogs,qt5-styleplugins,xorg-xwd,xfwm4,xorg-xhost,xorg-xkbcomp,xfconf,xfce4-session,tumbler,base-devel,xfce4-notifyd,gvfs-google,b43-fwcutter,antergos-alpm-hooks,ffmpegthumbnailer,qt5ct,pulseaudio-bluetooth,xorg-xkbevd,thunar-archive-plugin,terminus-font,antergos-mirrorlist,gst-libav,xorg-xmodmap,wget,garcon,gst-plugins-base,ttf-liberation,xorg-xinput,xfwm4-themes,xfce4-appfinder,reflector,python-pysmbc,gnome-calculator,xfce4-power-manager,gst-plugins-bad,gzip,xorg-server,cdrtools,gnome-screensaver,xorg-smproxy,xfce4-settings,xorg-xev,bind-tools,antergos-keyring,usb_modeswitch,dosfstools,xorg-xlsclients,xf86-video-vesa,gnome-keyring,parole,transmission-gtk,xfce4-terminal,cifs-utils,f2fs-tools,modemmanager,exo,gufw,xorg-xwininfo,xfce4-taskmanager,antergos-desktop-settings,unzip,pamac,xfdesktop,wpa_actiond,xorg-x11perf,light-locker,upower,xorg-luit,xfce4-screenshooter,xorg-xset,xfce4-datetime-plugin,cryfs,jfsutils,xorg-fonts-encodings,wireless_tools,xf86-video-fbdev,xfce4-battery-plugin,sudo,xorg-xcursorgen,evince,xorg-xdriinfo,thunar-volman,xorg-xkill,catfish,xfce4-pulseaudio-plugin,pragha,intel-ucode,accountsservice,ristretto,antergos-midnight-timers,xorg-font-util,mlocate,xorg-xcmsdb,xorg-xgamma,alsa-utils,xfce4-panel,base,ntfs-3g,screenfetch,crda,pkgfile,networkmanager,xcursor-breeze,gst-plugins-ugly,xorg-xkbutils,haveged,xorg-sessreg,grub,mousepad,xorg-xpr,xorg-mkfontdir,antergos-wallpapers,numix-icon-theme-square,xorg-mkfontscale,linux-headers,xorg-xbacklight,xorg-xrefresh,xdg-user-dirs-gtk,ufw,xorg-xwud,chromium,libdvdcss,xorg-xvinfo,lightdm-webkit2-greeter,numix-frost-themes,lightdm,polkit-gnome,efibootmgr,gvfs-mtp,xorg-iceauth,htop (select_packages.py:363) 2019-03-13 16:05:27 [INFO ] Checking that all selected packages are available online... (slides.py:240) 2019-03-13 16:05:57 [ERROR ] Package xorg-mkfontdir...NOT FOUND! (select_packages.py:385) 2019-03-13 16:06:01 [ERROR ] 'Cannot find these packages: xorg-mkfontdir' (process.py:185) 2019-03-13 16:06:01 [ERROR ] Traceback (most recent call last): (process.py:190) 2019-03-13 16:06:01 [ERROR ] File "/usr/share/cnchi/src/installation/process.py", line 145, in run self.create_metalinks_list() (process.py:190) 2019-03-13 16:06:01 [ERROR ] File "/usr/share/cnchi/src/installation/process.py", line 74, in create_metalinks_list self.pkg.create_package_list() (process.py:190) 2019-03-13 16:06:01 [ERROR ] File "/usr/share/cnchi/src/installation/select_packages.py", line 94, in create_package_list self.select_packages() (process.py:190) 2019-03-13 16:06:01 [ERROR ] File "/usr/share/cnchi/src/installation/select_packages.py", line 367, in select_packages self.check_packages() (process.py:190) 2019-03-13 16:06:01 [ERROR ] File "/usr/share/cnchi/src/installation/select_packages.py", line 392, in check_packages raise misc.InstallError(txt) (process.py:190) 2019-03-13 16:06:01 [ERROR ] misc.extra.InstallError: 'Cannot find these packages: xorg-mkfontdir' (process.py:190) 2019-03-13 16:06:01 [DEBUG ] Starting new HTTP connection (1): build.antergos.com:80 (connectionpool.py:205) 2019-03-13 16:06:01 [DEBUG ] http://build.antergos.com:80 "GET /hook?cnchi=2580656b5c7be34e4144a3129a95e421 HTTP/1.1" 301 None (connectionpool.py:393) 2019-03-13 16:06:02 [DEBUG ] http://build.antergos.com:80 "GET /api/hook?cnchi=2580656b5c7be34e4144a3129a95e421 HTTP/1.1" 200 None (connectionpool.py:393) (END)

manuel-192 commented 5 years ago

OK, now the packages.xml file seems to work! Just installed Antergos without any workaround. So thread closed also on my part. ;)

killajoe commented 5 years ago

yes it is updated now