freebsd / pkg

Package management tool for FreeBSD. Help at #pkg on Libera Chat or pkg@FreeBSD.org
Other
748 stars 280 forks source link

pkg should not fail on missing package with more then one package as argument #1467

Closed vermaden closed 4 years ago

vermaden commented 8 years ago

When You type all these packages into pkg [1], it will fail because there is no 'btsync' package.

Please change that behaviour changing FAIL into WARNING if more then one package is specified or provide an option like --do-not-fail that will not fail pkg on a missing packages.

Thanks, vermaden

[1]

pkg install pdftk engrampa gimp KeePassX alltray arandr archivemount aria2 aspell audacity baobab bash beadm blogbench bsdinfo btsync cadaver ccd2iso cclive cdrdao cdrtools chromium clamav clusterssh compton conky cool-retro-term coreutils curl dconf dconf-editor deadbeef dejavu dhcping dia djview djvulibre libreoffice dmenu dmg2img dmidecode doas dosbox dosunix dvd+rw-tools expect ffmpeg firefox fish fuse-zip fusefs-exfat fusefs-ext4fuse fusefs-gphotofs fusefs-libs fusefs-ntfs fusefs-simple-mtpfs galculator geary gftp gnumeric gtar gtk-aurora-engine gtk-cleanice-engine gtk-engines2 gtk-equinox-engine gtk-murrine-engine gtk-nodoka-engine gtk-oxygen-engine gtk-update-icon-cache gtk-xfce-engine gtk3-oxygen-engine gtk3-unico-engine gutenprint gutenprint-base gutenprint-ijs handbrake htop i386-wine-devel ifstat iftop ipcalc isc-dhcp42-server jhead jpeg2ps jpg2pdf ksh93 lame leafpad lensfun linux-c6-atk linux-c6-cairo linux-c6-curl linux-c6-cyrus-sasl2 linux-c6-expat linux-c6-flashplugin linux-c6-fontconfig linux-c6-gdk-pixbuf2 linux-c6-gtk2 linux-c6-jasper linux-c6-jpeg linux-c6-libssh2 linux-c6-libthai linux-c6-nspr linux-c6-nss linux-c6-openldap linux-c6-openssl linux-c6-openssl-compat linux-c6-pango linux-c6-pixman linux-c6-png linux-c6-sqlite linux-c6-tiff linux-c6-xorg-libs linux_base-c6 lrzip lsof luit mate-session-manager mbuffer mesa-demos midori mpg123 mplayer mtr mupdf ncdu ngrep nspluginwrapper nvidia-driver obconf obmenu openbox p7zip parallel pcmanfm pdfgrep pidgin pidgin-sipe pl-aspell pl-ekg pl-libgadu plank pngcrush portmaster powerdxx pstree psutils pv qpdf rar rdesktop recordmydesktop recoverjpeg rsync rxvt-unicode screen scrot setxkbmap shc slurm smartmontools sshpass stalonetray sudo svnup sysinfo thunderbird tightvnc tint2 transmission transmission-cli transmission-daemon transmission-gtk transmission-qt4 transmission-web trayer uif2iso unique unrar unzip vifm vim-lite virtualbox-ose virtualbox-ose-kmod vlc w3m wget wmctrl x11perf xbindkeys xcb-util-wm xchm xdg-utils xephyr xfce4-panel xfce4-session xfce4-wm xlockmore xlsclients xorg xterm youtube_dl zenity zip zsh libressl

bapt commented 8 years ago

there is a --ignore-missing that should work for you

vermaden commented 8 years ago

Yep, man pkg-install is more adequate then man pkg ;)Thanks and sorry for useless issue.Regards,vermadenOd: "Baptiste Daroussin" <notifications@github.com>Do: "freebsd/pkg" <pkg@noreply.github.com>; Wysłane: 11:12 Poniedziałek 2016-09-12Temat: Re: [freebsd/pkg] pkg should not fail on missing package with more then one package as argument (#1467)there is a --ignore-missing that should work for you

—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or mute the thread.

mat813 commented 8 years ago

As a side note, all of pkg's documentation is available through, for example pkg help install