New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange dependency problem #97

Closed
websafe opened this Issue Aug 26, 2017 · 11 comments

Comments

Projects
None yet
2 participants
@websafe
Collaborator

websafe commented Aug 26, 2017

Hello @dslackw

I'm on:

# slpkg --version
Version   : 3.2.8
Licence   : GNU General Public License v3 (GPLv3)
Email     : d.zlatanidis@gmail.com
Maintainer: Dimitris Zlatanidis (dslackw)

I wanted to install x2goserver, but didn't really remember the correct package name, so I typed:

# slpkg -s sbo x2go
Reading package lists... Done

The following packages will be automatically installed or upgraded with new version:

+==============================================================================
| Package                 New version        Arch    Build  Repos          Size
+==============================================================================
Installing:
  x2goclient              4.0.5.1            x86_64         SBo
  x2goserver              4.0.1.19           x86_64         SBo

Installing summary
===============================================================================
Total 2 packages.
2 packages will be installed, 0 already installed and 0 package
will be upgraded.

Would you like to continue [y/N]? y

Both packages were installed, but I was unable to run x2goserver because of missing runtime dependencies... All these deps are mentioned in https://slackbuilds.org/slackbuilds/14.2/network/x2goserver/x2goserver.info but somehow slpkg didn't catch them during installation, as you can see above.

I had to run:

# slpkg -s sbo x2goserver
Reading package lists... Done
Resolving dependencies... Done

The following packages will be automatically installed or upgraded 
with new version:

+==============================================================================
| Package                 New version        Arch    Build  Repos          Size
+==============================================================================
Installing:
  x2goserver              4.0.1.19           x86_64         SBo
Installing for dependencies:
  perl-Config-Simple      4.58               x86_64         SBo
  perl-File-ReadBackwards 1.05               x86_64         SBo
  perl-DBD-SQLite         1.54               x86_64         SBo
  perl-Capture-Tiny       0.46               x86_64         SBo
  perl-Unix-Syslog        1.1                x86_64         SBo

Installing summary
===============================================================================
Total 6 packages.
6 packages will be installed, 0 already installed and 0 package
will be upgraded.

Would you like to continue [y/N]? y 

afterwards to have the required deps installed.

So there seems to be a problem with resolving dependencies when the given package name resolves to multiple possibilities, in this case I used x2go and it was resolved to x2goclient and x2goserver
but all required deps were not resolved.

@dslackw

This comment has been minimized.

Show comment
Hide comment
@dslackw

dslackw Aug 27, 2017

Owner

Yes you must write exactly the package name to resolve dependencies otherwise it show all the matching names. You can try sometimes the flag "--case-ins" like:

slpkg -s sbo X2goServeR --case-ins
Owner

dslackw commented Aug 27, 2017

Yes you must write exactly the package name to resolve dependencies otherwise it show all the matching names. You can try sometimes the flag "--case-ins" like:

slpkg -s sbo X2goServeR --case-ins
@websafe

This comment has been minimized.

Show comment
Hide comment
@websafe

websafe Aug 27, 2017

Collaborator

Sure, but maybe slpkg should in this case show a list of matching packages instead of installing them without dependencies? Or maybe it could stay as it is but dependencies should be resolved also? Because otherwise these installations will mostly fail.

Collaborator

websafe commented Aug 27, 2017

Sure, but maybe slpkg should in this case show a list of matching packages instead of installing them without dependencies? Or maybe it could stay as it is but dependencies should be resolved also? Because otherwise these installations will mostly fail.

@dslackw

This comment has been minimized.

Show comment
Hide comment
@dslackw

dslackw Aug 28, 2017

Owner

The dependencies are a little difficult το resolve in this case because sometimes the matching names it is very big, like this:

root@darkstar /h/dslackw# slpkg -s sbo ma
Reading package lists... Done

The following packages will be automatically installed or upgraded 
with new version:

+==============================================================================
| Package                 New version        Arch    Build  Repos          Size
+==============================================================================
Installing:
  ImageJ                  1.50               x86_64         SBo
  armadillo               7.100.3            x86_64         SBo
  extrema                 4.4.5              x86_64         SBo
  karma                   1.7.25             x86_64         SBo
  link-grammar            4.8.0              x86_64         SBo
  mafft                   7.310              x86_64         SBo
  magic                   8.0.211            x86_64         SBo
  mathics                 1.0                x86_64         SBo
  mathomatic              16.0.5             x86_64         SBo
  matio                   1.5.9              x86_64         SBo
  maxima                  5.39.0             x86_64         SBo
  mpmath                  0.19               x86_64         SBo
  smath-studio            0.97.5346          x86_64         SBo
  tuxmath                 2.0.3              x86_64         SBo
  wxMaxima                16.04.2            x86_64         SBo
  wxmacmolplt             7.7                x86_64         SBo
  gnomad2                 2.9.6              x86_64         SBo
  google-musicmanager     1.0.243.1116       x86_64         SBo
  mac                     3.99               x86_64         SBo
  match-vamp-plugin       1.0                x86_64         SBo
  nnls-chroma             1.1                x86_64         SBo
  paman                   0.9.4              x86_64         SBo
  xmms-wma                1.0.5              x86_64         SBo
  cmatrix                 1.2a               x86_64         SBo
  conky-manager           r136               x86_64         SBo
  macopix                 1.7.4              x86_64         SBo
  maitreya                7.0.5              x86_64         SBo
  matrixgl                2.3.2              x86_64         SBo
  menumaker               0.99.10            x86_64         SBo
  moka-minimal            0.1                x86_64         SBo
  plasma-adjustable-clock 4.1.4              x86_64         SBo
  plasma-applet-daisy     0.0.4.26           x86_64         SBo
  plasma-eyasdp           1.2.0              x86_64         SBo
  plasma-geek-clock       1.0                x86_64         SBo
  plasma-runner-browsefirefoxbookmarks 0.2.4              x86_64         SBo
  plasma-widget-menubar   0.2.0              x86_64         SBo
  plasmaxplanet           0.1                x86_64         SBo
  smaragd                 0.0.7              x86_64         SBo
  wmakerconf              2.12               x86_64         SBo
  xdgmenumaker            1.4                x86_64         SBo
  xfce4-mailwatch-plugin  1.2.0              x86_64         SBo
  xfce4-smartbookmark-plugin 0.4.5              x86_64         SBo
  apache-maven            3.3.9              x86_64         SBo
  avr8-burn-o-mat         2.1.2              x86_64         SBo
  bmake                   20170201           x86_64         SBo
  extra-cmake-modules     5.36.0             x86_64         SBo
  gnustep-make            2.6.3              x86_64         SBo
  ign-math2               2.2.3              UNTESTED       SBo
  ignition-math           1.0.0              x86_64         SBo
  jupyter-nbformat        4.4.0              x86_64         SBo
  maude                   2.7.1              x86_64         SBo
  omake                   0.9.8.6            x86_64         SBo
  oniguruma               5.9.6_p1           x86_64         SBo
  premake                 4.4_beta5          x86_64         SBo
  python3-matplotlib      1.5.2              x86_64         SBo
  simavr                  git20170615        x86_64         SBo
  smalltalk               3.2.5              x86_64         SBo
  smartgit                7.0.3              x86_64         SBo
  smartsvn                9.0.5              x86_64         SBo
  sqliteman               1.2.2              x86_64         SBo
  uemacs                  20141208           x86_64         SBo
  watchman                4.9.0              x86_64         SBo
  xemacs                  21.5.34            x86_64         SBo
  advancemame             3.5                x86_64         SBo
  armagetronad            0.2.8.3.4          x86_64         SBo
  cgmadness               1.3                x86_64         SBo
  chroma                  1.15               x86_64         SBo
  ckmame                  0.12               x86_64         SBo
  commandergenius         1.9.9.2beta        x86_64         SBo
  cosmosmash              1.4.7              x86_64         SBo
  cutemaze                1.1.1              x86_64         SBo
  enigma                  1.04               x86_64         SBo
  fortune-dharma          1.2                x86_64         SBo
  fortune-futurama        0.2                x86_64         SBo
  haxima-nazghul          0.7.1              x86_64         SBo
  lmarbles                1.0.8              x86_64         SBo
  madbomber               0.2.5              x86_64         SBo
  maelstrom               3.0.6              x86_64         SBo
  mame                    0.188              x86_64         SBo
  mame2000-libretro       2017.01.27_1083de2 x86_64         SBo
  mame2010-libretro       2017.01.25_4776991 x86_64         SBo
  mame2014-libretro       2017.02.01_ee898d836c x86_64         SBo
  mangband                1.1.3              x86_64         SBo
  marathon-data           20150620           x86_64         SBo
  marathon-eternal-data   1.1.0              x86_64         SBo
  marathon-evil-data      20110331           x86_64         SBo
  marathon-infinity-data  20150620           x86_64         SBo
  marathon-red-data       20110331           x86_64         SBo
  marathon-rubicon-data   20060807           x86_64         SBo
  marathon2-data          20150620           x86_64         SBo
  mari0                   1.6                x86_64         SBo
  mars                    0.7.5              x86_64         SBo
  megamario               1.7                x86_64         SBo
  myman                   0.7.0              x86_64         SBo
  notpacman               1.0.4              x86_64         SBo
  pacman-arena            0.15               x86_64         SBo
  pasang-emas             5.0.0              x86_64         SBo
  penguin-command         1.6.11             x86_64         SBo
  smashbattle             110224             x86_64         SBo
  supermariowar           2.0beta1           x86_64         SBo
  worldofpadman           1.6                x86_64         SBo
  xmahjongg               3.7                x86_64         SBo
  yamagi-quake2           7.01               x86_64         SBo
  basemap                 1.0.7              x86_64         SBo
  gmapcatcher             0.8.0.4            x86_64         SBo
  mapnik                  3.0.13             x86_64         SBo
  openorienteering-mapper 0.7.0              x86_64         SBo
  osm-gps-map             1.1.0              x86_64         SBo
  python-mapnik           3.0.13             x86_64         SBo
  qmapshack               1.9.0              x86_64         SBo
  exact-image             0.9.2              x86_64         SBo
  findimagedupes          2.18               x86_64         SBo
  fontmatrix              20161216           x86_64         SBo
  gimagereader            3.2.3              x86_64         SBo
  maim                    2.3.31             x86_64         SBo
  makehuman               1.0.2              x86_64         SBo
  mapcrafter              2.3.1              x86_64         SBo
  nomacs                  3.4                x86_64         SBo
  openimageio             1.7.16             x86_64         SBo
  haskell-blaze-markup    0.7.0.3            x86_64         SBo
  haskell-cmark           0.5.5.1            x86_64         SBo
  haskell-filemanip       0.3.6.3            x86_64         SBo
  haskell-hxt-regex-xmlschema 9.2.0.1            x86_64         SBo
  haskell-mmap            0.5.9              x86_64         SBo
  haskell-texmath         0.8.6.2            x86_64         SBo
  FreeImage               3.17.0             x86_64         SBo
  SDL2_image-2.0.1        2.0.1              x86_64         SBo
  Smarty                  3.0.8              x86_64         SBo
  backports-ssl-match-hostname 3.5.0.1            x86_64         SBo
  chromaprint             1.4.2              x86_64         SBo
  compiz-plugins-main     0.8.14             x86_64         SBo
  gtkimageview            1.6.4              x86_64         SBo
  ignition-math2          2.5.0              x86_64         SBo
  imageloader             0.0.5              x86_64         SBo
  jai-imageio             1.1                x86_64         SBo
  levmar                  2.6                x86_64         SBo
  libAfterImage           1.20               x86_64         SBo
  libdmapsharing          2.1.9              x86_64         SBo
  libkgeomap4             15.08.3            x86_64         SBo
  libmaa                  1.3.2              x86_64         SBo
  libmatroska             1.4.2              x86_64         SBo
  libpagemaker            0.0.3              x86_64         SBo
  libtommath              1.0                x86_64         SBo
  manubulon-snmp-plugins  20151112           x86_64         SBo
  mariadb_client          2.0.0              x86_64         SBo
  mathgl                  2.3.3              x86_64         SBo
  matplotlib              1.5.2              x86_64         SBo
  php-imagick             3.4.3              x86_64         SBo
  sdformat                4.2.0              x86_64         SBo
  smmap                   0.9.0              x86_64         SBo
  smmap2                  2.0.3              x86_64         SBo
  wfmath                  1.0.2              x86_64         SBo
  zope.schema             4.4.2              x86_64         SBo
  Colormake               20170221           x86_64         SBo
  asr-manpages            1.3.6              x86_64         SBo
  bsdmainutils            9.0.12+nmu1        x86_64         SBo
  funny-manpages          1.3.5              x86_64         SBo
  imagination             3.0                x86_64         SBo
  l-smash                 2.9.1              x86_64         SBo
  makemkv                 1.10.6             x86_64         SBo
  tomahawk                0.8.4              x86_64         SBo
  vcdimager               0.7.24             x86_64         SBo
  Free-Cinema             0.3.0              x86_64         SBo
  amap                    5.4                x86_64         SBo
  amavisd-new             2.11.0             x86_64         SBo
  asciinema               1.4.0              x86_64         SBo
  clamav-unofficial-sigs  5.6.2              x86_64         SBo
  claws-mail              3.15.0             x86_64         SBo
  connman                 1.32               x86_64         SBo
  courier-imap            4.16.0             x86_64         SBo
  cyrus-imapd             2.5.10             x86_64         SBo
  davmail                 4.7.3              x86_64         SBo
  emacs-w3m               cvs_1.4.400_0.20100725 x86_64         SBo
  emailrelay              1.9                x86_64         SBo
  hamachi                 2.0.1.13           x86_64         SBo
  imapfilter              2.6.10             x86_64         SBo
  imapproxy               1.2.7              x86_64         SBo
  libmaxminddb            1.0.2              x86_64         SBo
  macchanger              1.5.0              x86_64         SBo
  maildrop                2.4.3              x86_64         SBo
  mailman                 2.1.23             x86_64         SBo
  malheur                 0.5.4              x86_64         SBo
  masscan                 1.0.3              x86_64         SBo
  netqmail                1.06               x86_64         SBo
  offlineimap             7.1.2              x86_64         SBo
  openvas-manager         6.0.11             x86_64         SBo
  plasma-nm-openconnect   0.9.3.6            x86_64         SBo
  serialmail              0.75               x86_64         SBo
  spamassassin            3.4.1              x86_64         SBo
  sqlmap                  1.1.6              x86_64         SBo
  tmate                   2.1                x86_64         SBo
  weighmail               0.1.0              x86_64         SBo
  xdman                   2016.6.2           x86_64         SBo
  zmap                    2.1.1              x86_64         SBo
  mairix                  0.23               x86_64         SBo
  marave                  0.7                x86_64         SBo
  mathtex                 1.05               x86_64         SBo
  texmacs                 1.99.2             x86_64         SBo
  texmaker                5.0.2              x86_64         SBo
  perl-Cache-FastMmap     1.44               x86_64         SBo
  perl-DateTime-Format-Builder 0.81               x86_64         SBo
  perl-DateTime-Format-ISO8601 0.08               x86_64         SBo
  perl-DateTime-Format-Strptime 1.56               x86_64         SBo
  perl-Email-Date-Format  1.005              x86_64         SBo
  perl-Image-Info         1.39               x86_64         SBo
  perl-Image-Size         3.232              x86_64         SBo
  perl-Mail-DomainKeys    1.0                x86_64         SBo
  perl-Math-Decimal64     0.16               x86_64         SBo
  perl-Net-DNS-Resolver-Programmable 0.003              x86_64         SBo
  perl-Net-Netmask        1.9022             x86_64         SBo
  perl-Number-Bites-Human 0.11               x86_64         SBo
  perl-Sys-Mmap           0.17               x86_64         SBo
  perl-Term-Animation     2.6                x86_64         SBo
  perl-Text-Autoformat    1.74               x86_64         SBo
  perl-cgi-minimal        1.29               x86_64         SBo
  perl-digest-hmac        1.03               x86_64         SBo
  perl-file-libmagic      1.15               x86_64         SBo
  perl-gtk2-imageview     0.05               x86_64         SBo
  perl-image-bmp          1.19               x86_64         SBo
  Automat                 0.5.0              x86_64         SBo
  asciimatics             1.7.1              x86_64         SBo
  colorama                0.3.7              x86_64         SBo
  imagesize               0.7.1              x86_64         SBo
  jsonschema              2.5.1              x86_64         SBo
  mando                   0.4                x86_64         SBo
  pySmartDL               1.2.4              x86_64         SBo
  pybloomfiltermmap       0.3.15             x86_64         SBo
  python-magic            0.4.12             x86_64         SBo
  python-magick           0.9.12             x86_64         SBo
  python-rubymarshal      1.0.3              x86_64         SBo
  amanda                  3.3.8              x86_64         SBo
  barman                  2.2                x86_64         SBo
  clamav                  0.99.2             x86_64         SBo
  disk-manager            1.1.1              x86_64         SBo
  docker-machine          0.12.1             x86_64         SBo
  ext4magic               0.3.2              x86_64         SBo
  font-manager            0.7.3              x86_64         SBo
  foomatic-db-engine      4.0.12             x86_64         SBo
  foomatic-db             20170729           x86_64         SBo
  gdmap                   0.8.1              x86_64         SBo
  gnome-commander         1.4.3              x86_64         SBo
  graveman                0.3.12.5           x86_64         SBo
  gsmartcontrol           1.0.1              x86_64         SBo
  image-analyzer          3.0.1              x86_64         SBo
  info2man                20040717           x86_64         SBo
  isomaster               1.3.13             x86_64         SBo
  macemu                  20161217_181634a   x86_64         SBo
  macutils                2.0b3_16           x86_64         SBo
  maintboot               0.1.0              x86_64         SBo
  makefile2graph          1.5.0              x86_64         SBo
  makepasswd              0.5.4              x86_64         SBo
  makepp                  2.0                x86_64         SBo
  makeself                2.2.0              x86_64         SBo
  man-db-2.7.6.1          2.7.6.1            x86_64         SBo
  man-pages-es            1.55               x86_64         SBo
  man-pages-fr            3.03.0             x86_64         SBo
  man-pages-ja            20170615           x86_64         SBo
  man-pages-ru            3.41_20130102      x86_64         SBo
  mariadb-plugin-saslauthd 1.1                x86_64         SBo
  mucommander             0.9.0              x86_64         SBo
  nomarch                 1.4                x86_64         SBo
  numactl                 2.0.10             x86_64         SBo
  partimage               0.6.9              x86_64         SBo
  pcmanfm                 1.2.5              x86_64         SBo
  polyglotman             3.2                x86_64         SBo
  qtgzmanager             1.0.3              x86_64         SBo
  smart                   1.4.1              x86_64         SBo
  squidclamav             6.16               x86_64         SBo
  thermald                1.6                x86_64         SBo
  tp_smapi                0.41               x86_64         SBo
  trmaid                  0.6.6              x86_64         SBo
  ufiformat               0.9.6              x86_64         SBo
  virt-manager            1.4.2              x86_64         SBo
  xautomation             1.09               x86_64         SBo

Installing summary
===============================================================================
Total 274 packages.
272 packages will be installed, 2 already installed and 0 package
will be upgraded.

Would you like to continue [y/N]?

so we may found one other solution...

Owner

dslackw commented Aug 28, 2017

The dependencies are a little difficult το resolve in this case because sometimes the matching names it is very big, like this:

root@darkstar /h/dslackw# slpkg -s sbo ma
Reading package lists... Done

The following packages will be automatically installed or upgraded 
with new version:

+==============================================================================
| Package                 New version        Arch    Build  Repos          Size
+==============================================================================
Installing:
  ImageJ                  1.50               x86_64         SBo
  armadillo               7.100.3            x86_64         SBo
  extrema                 4.4.5              x86_64         SBo
  karma                   1.7.25             x86_64         SBo
  link-grammar            4.8.0              x86_64         SBo
  mafft                   7.310              x86_64         SBo
  magic                   8.0.211            x86_64         SBo
  mathics                 1.0                x86_64         SBo
  mathomatic              16.0.5             x86_64         SBo
  matio                   1.5.9              x86_64         SBo
  maxima                  5.39.0             x86_64         SBo
  mpmath                  0.19               x86_64         SBo
  smath-studio            0.97.5346          x86_64         SBo
  tuxmath                 2.0.3              x86_64         SBo
  wxMaxima                16.04.2            x86_64         SBo
  wxmacmolplt             7.7                x86_64         SBo
  gnomad2                 2.9.6              x86_64         SBo
  google-musicmanager     1.0.243.1116       x86_64         SBo
  mac                     3.99               x86_64         SBo
  match-vamp-plugin       1.0                x86_64         SBo
  nnls-chroma             1.1                x86_64         SBo
  paman                   0.9.4              x86_64         SBo
  xmms-wma                1.0.5              x86_64         SBo
  cmatrix                 1.2a               x86_64         SBo
  conky-manager           r136               x86_64         SBo
  macopix                 1.7.4              x86_64         SBo
  maitreya                7.0.5              x86_64         SBo
  matrixgl                2.3.2              x86_64         SBo
  menumaker               0.99.10            x86_64         SBo
  moka-minimal            0.1                x86_64         SBo
  plasma-adjustable-clock 4.1.4              x86_64         SBo
  plasma-applet-daisy     0.0.4.26           x86_64         SBo
  plasma-eyasdp           1.2.0              x86_64         SBo
  plasma-geek-clock       1.0                x86_64         SBo
  plasma-runner-browsefirefoxbookmarks 0.2.4              x86_64         SBo
  plasma-widget-menubar   0.2.0              x86_64         SBo
  plasmaxplanet           0.1                x86_64         SBo
  smaragd                 0.0.7              x86_64         SBo
  wmakerconf              2.12               x86_64         SBo
  xdgmenumaker            1.4                x86_64         SBo
  xfce4-mailwatch-plugin  1.2.0              x86_64         SBo
  xfce4-smartbookmark-plugin 0.4.5              x86_64         SBo
  apache-maven            3.3.9              x86_64         SBo
  avr8-burn-o-mat         2.1.2              x86_64         SBo
  bmake                   20170201           x86_64         SBo
  extra-cmake-modules     5.36.0             x86_64         SBo
  gnustep-make            2.6.3              x86_64         SBo
  ign-math2               2.2.3              UNTESTED       SBo
  ignition-math           1.0.0              x86_64         SBo
  jupyter-nbformat        4.4.0              x86_64         SBo
  maude                   2.7.1              x86_64         SBo
  omake                   0.9.8.6            x86_64         SBo
  oniguruma               5.9.6_p1           x86_64         SBo
  premake                 4.4_beta5          x86_64         SBo
  python3-matplotlib      1.5.2              x86_64         SBo
  simavr                  git20170615        x86_64         SBo
  smalltalk               3.2.5              x86_64         SBo
  smartgit                7.0.3              x86_64         SBo
  smartsvn                9.0.5              x86_64         SBo
  sqliteman               1.2.2              x86_64         SBo
  uemacs                  20141208           x86_64         SBo
  watchman                4.9.0              x86_64         SBo
  xemacs                  21.5.34            x86_64         SBo
  advancemame             3.5                x86_64         SBo
  armagetronad            0.2.8.3.4          x86_64         SBo
  cgmadness               1.3                x86_64         SBo
  chroma                  1.15               x86_64         SBo
  ckmame                  0.12               x86_64         SBo
  commandergenius         1.9.9.2beta        x86_64         SBo
  cosmosmash              1.4.7              x86_64         SBo
  cutemaze                1.1.1              x86_64         SBo
  enigma                  1.04               x86_64         SBo
  fortune-dharma          1.2                x86_64         SBo
  fortune-futurama        0.2                x86_64         SBo
  haxima-nazghul          0.7.1              x86_64         SBo
  lmarbles                1.0.8              x86_64         SBo
  madbomber               0.2.5              x86_64         SBo
  maelstrom               3.0.6              x86_64         SBo
  mame                    0.188              x86_64         SBo
  mame2000-libretro       2017.01.27_1083de2 x86_64         SBo
  mame2010-libretro       2017.01.25_4776991 x86_64         SBo
  mame2014-libretro       2017.02.01_ee898d836c x86_64         SBo
  mangband                1.1.3              x86_64         SBo
  marathon-data           20150620           x86_64         SBo
  marathon-eternal-data   1.1.0              x86_64         SBo
  marathon-evil-data      20110331           x86_64         SBo
  marathon-infinity-data  20150620           x86_64         SBo
  marathon-red-data       20110331           x86_64         SBo
  marathon-rubicon-data   20060807           x86_64         SBo
  marathon2-data          20150620           x86_64         SBo
  mari0                   1.6                x86_64         SBo
  mars                    0.7.5              x86_64         SBo
  megamario               1.7                x86_64         SBo
  myman                   0.7.0              x86_64         SBo
  notpacman               1.0.4              x86_64         SBo
  pacman-arena            0.15               x86_64         SBo
  pasang-emas             5.0.0              x86_64         SBo
  penguin-command         1.6.11             x86_64         SBo
  smashbattle             110224             x86_64         SBo
  supermariowar           2.0beta1           x86_64         SBo
  worldofpadman           1.6                x86_64         SBo
  xmahjongg               3.7                x86_64         SBo
  yamagi-quake2           7.01               x86_64         SBo
  basemap                 1.0.7              x86_64         SBo
  gmapcatcher             0.8.0.4            x86_64         SBo
  mapnik                  3.0.13             x86_64         SBo
  openorienteering-mapper 0.7.0              x86_64         SBo
  osm-gps-map             1.1.0              x86_64         SBo
  python-mapnik           3.0.13             x86_64         SBo
  qmapshack               1.9.0              x86_64         SBo
  exact-image             0.9.2              x86_64         SBo
  findimagedupes          2.18               x86_64         SBo
  fontmatrix              20161216           x86_64         SBo
  gimagereader            3.2.3              x86_64         SBo
  maim                    2.3.31             x86_64         SBo
  makehuman               1.0.2              x86_64         SBo
  mapcrafter              2.3.1              x86_64         SBo
  nomacs                  3.4                x86_64         SBo
  openimageio             1.7.16             x86_64         SBo
  haskell-blaze-markup    0.7.0.3            x86_64         SBo
  haskell-cmark           0.5.5.1            x86_64         SBo
  haskell-filemanip       0.3.6.3            x86_64         SBo
  haskell-hxt-regex-xmlschema 9.2.0.1            x86_64         SBo
  haskell-mmap            0.5.9              x86_64         SBo
  haskell-texmath         0.8.6.2            x86_64         SBo
  FreeImage               3.17.0             x86_64         SBo
  SDL2_image-2.0.1        2.0.1              x86_64         SBo
  Smarty                  3.0.8              x86_64         SBo
  backports-ssl-match-hostname 3.5.0.1            x86_64         SBo
  chromaprint             1.4.2              x86_64         SBo
  compiz-plugins-main     0.8.14             x86_64         SBo
  gtkimageview            1.6.4              x86_64         SBo
  ignition-math2          2.5.0              x86_64         SBo
  imageloader             0.0.5              x86_64         SBo
  jai-imageio             1.1                x86_64         SBo
  levmar                  2.6                x86_64         SBo
  libAfterImage           1.20               x86_64         SBo
  libdmapsharing          2.1.9              x86_64         SBo
  libkgeomap4             15.08.3            x86_64         SBo
  libmaa                  1.3.2              x86_64         SBo
  libmatroska             1.4.2              x86_64         SBo
  libpagemaker            0.0.3              x86_64         SBo
  libtommath              1.0                x86_64         SBo
  manubulon-snmp-plugins  20151112           x86_64         SBo
  mariadb_client          2.0.0              x86_64         SBo
  mathgl                  2.3.3              x86_64         SBo
  matplotlib              1.5.2              x86_64         SBo
  php-imagick             3.4.3              x86_64         SBo
  sdformat                4.2.0              x86_64         SBo
  smmap                   0.9.0              x86_64         SBo
  smmap2                  2.0.3              x86_64         SBo
  wfmath                  1.0.2              x86_64         SBo
  zope.schema             4.4.2              x86_64         SBo
  Colormake               20170221           x86_64         SBo
  asr-manpages            1.3.6              x86_64         SBo
  bsdmainutils            9.0.12+nmu1        x86_64         SBo
  funny-manpages          1.3.5              x86_64         SBo
  imagination             3.0                x86_64         SBo
  l-smash                 2.9.1              x86_64         SBo
  makemkv                 1.10.6             x86_64         SBo
  tomahawk                0.8.4              x86_64         SBo
  vcdimager               0.7.24             x86_64         SBo
  Free-Cinema             0.3.0              x86_64         SBo
  amap                    5.4                x86_64         SBo
  amavisd-new             2.11.0             x86_64         SBo
  asciinema               1.4.0              x86_64         SBo
  clamav-unofficial-sigs  5.6.2              x86_64         SBo
  claws-mail              3.15.0             x86_64         SBo
  connman                 1.32               x86_64         SBo
  courier-imap            4.16.0             x86_64         SBo
  cyrus-imapd             2.5.10             x86_64         SBo
  davmail                 4.7.3              x86_64         SBo
  emacs-w3m               cvs_1.4.400_0.20100725 x86_64         SBo
  emailrelay              1.9                x86_64         SBo
  hamachi                 2.0.1.13           x86_64         SBo
  imapfilter              2.6.10             x86_64         SBo
  imapproxy               1.2.7              x86_64         SBo
  libmaxminddb            1.0.2              x86_64         SBo
  macchanger              1.5.0              x86_64         SBo
  maildrop                2.4.3              x86_64         SBo
  mailman                 2.1.23             x86_64         SBo
  malheur                 0.5.4              x86_64         SBo
  masscan                 1.0.3              x86_64         SBo
  netqmail                1.06               x86_64         SBo
  offlineimap             7.1.2              x86_64         SBo
  openvas-manager         6.0.11             x86_64         SBo
  plasma-nm-openconnect   0.9.3.6            x86_64         SBo
  serialmail              0.75               x86_64         SBo
  spamassassin            3.4.1              x86_64         SBo
  sqlmap                  1.1.6              x86_64         SBo
  tmate                   2.1                x86_64         SBo
  weighmail               0.1.0              x86_64         SBo
  xdman                   2016.6.2           x86_64         SBo
  zmap                    2.1.1              x86_64         SBo
  mairix                  0.23               x86_64         SBo
  marave                  0.7                x86_64         SBo
  mathtex                 1.05               x86_64         SBo
  texmacs                 1.99.2             x86_64         SBo
  texmaker                5.0.2              x86_64         SBo
  perl-Cache-FastMmap     1.44               x86_64         SBo
  perl-DateTime-Format-Builder 0.81               x86_64         SBo
  perl-DateTime-Format-ISO8601 0.08               x86_64         SBo
  perl-DateTime-Format-Strptime 1.56               x86_64         SBo
  perl-Email-Date-Format  1.005              x86_64         SBo
  perl-Image-Info         1.39               x86_64         SBo
  perl-Image-Size         3.232              x86_64         SBo
  perl-Mail-DomainKeys    1.0                x86_64         SBo
  perl-Math-Decimal64     0.16               x86_64         SBo
  perl-Net-DNS-Resolver-Programmable 0.003              x86_64         SBo
  perl-Net-Netmask        1.9022             x86_64         SBo
  perl-Number-Bites-Human 0.11               x86_64         SBo
  perl-Sys-Mmap           0.17               x86_64         SBo
  perl-Term-Animation     2.6                x86_64         SBo
  perl-Text-Autoformat    1.74               x86_64         SBo
  perl-cgi-minimal        1.29               x86_64         SBo
  perl-digest-hmac        1.03               x86_64         SBo
  perl-file-libmagic      1.15               x86_64         SBo
  perl-gtk2-imageview     0.05               x86_64         SBo
  perl-image-bmp          1.19               x86_64         SBo
  Automat                 0.5.0              x86_64         SBo
  asciimatics             1.7.1              x86_64         SBo
  colorama                0.3.7              x86_64         SBo
  imagesize               0.7.1              x86_64         SBo
  jsonschema              2.5.1              x86_64         SBo
  mando                   0.4                x86_64         SBo
  pySmartDL               1.2.4              x86_64         SBo
  pybloomfiltermmap       0.3.15             x86_64         SBo
  python-magic            0.4.12             x86_64         SBo
  python-magick           0.9.12             x86_64         SBo
  python-rubymarshal      1.0.3              x86_64         SBo
  amanda                  3.3.8              x86_64         SBo
  barman                  2.2                x86_64         SBo
  clamav                  0.99.2             x86_64         SBo
  disk-manager            1.1.1              x86_64         SBo
  docker-machine          0.12.1             x86_64         SBo
  ext4magic               0.3.2              x86_64         SBo
  font-manager            0.7.3              x86_64         SBo
  foomatic-db-engine      4.0.12             x86_64         SBo
  foomatic-db             20170729           x86_64         SBo
  gdmap                   0.8.1              x86_64         SBo
  gnome-commander         1.4.3              x86_64         SBo
  graveman                0.3.12.5           x86_64         SBo
  gsmartcontrol           1.0.1              x86_64         SBo
  image-analyzer          3.0.1              x86_64         SBo
  info2man                20040717           x86_64         SBo
  isomaster               1.3.13             x86_64         SBo
  macemu                  20161217_181634a   x86_64         SBo
  macutils                2.0b3_16           x86_64         SBo
  maintboot               0.1.0              x86_64         SBo
  makefile2graph          1.5.0              x86_64         SBo
  makepasswd              0.5.4              x86_64         SBo
  makepp                  2.0                x86_64         SBo
  makeself                2.2.0              x86_64         SBo
  man-db-2.7.6.1          2.7.6.1            x86_64         SBo
  man-pages-es            1.55               x86_64         SBo
  man-pages-fr            3.03.0             x86_64         SBo
  man-pages-ja            20170615           x86_64         SBo
  man-pages-ru            3.41_20130102      x86_64         SBo
  mariadb-plugin-saslauthd 1.1                x86_64         SBo
  mucommander             0.9.0              x86_64         SBo
  nomarch                 1.4                x86_64         SBo
  numactl                 2.0.10             x86_64         SBo
  partimage               0.6.9              x86_64         SBo
  pcmanfm                 1.2.5              x86_64         SBo
  polyglotman             3.2                x86_64         SBo
  qtgzmanager             1.0.3              x86_64         SBo
  smart                   1.4.1              x86_64         SBo
  squidclamav             6.16               x86_64         SBo
  thermald                1.6                x86_64         SBo
  tp_smapi                0.41               x86_64         SBo
  trmaid                  0.6.6              x86_64         SBo
  ufiformat               0.9.6              x86_64         SBo
  virt-manager            1.4.2              x86_64         SBo
  xautomation             1.09               x86_64         SBo

Installing summary
===============================================================================
Total 274 packages.
272 packages will be installed, 2 already installed and 0 package
will be upgraded.

Would you like to continue [y/N]?

so we may found one other solution...

@websafe

This comment has been minimized.

Show comment
Hide comment
@websafe

websafe Aug 30, 2017

Collaborator

Now I understand the problem.

So maybe slpkg -s sbo packagename should not search for all matching but only show exact matching packages? And maybe there should be another switch for searching packages?

Slackpkg does matching, but it will not resolve any deps, so in the case, where deps are not resolved, matching is OK, but slackpkg still has a separate option just for searching slackpkg search packagename, so maybe a separate switch just for searching?

Because in a scenario, when we have scripts using slpkg like this:

echo y | slpkg -s sbo packagename

and somehow packagename gets removed from slackbuilds but there are other packages that will be matched by slpkg to the name packagename these scripts will fail or at least not do, what they were designed to do...

Collaborator

websafe commented Aug 30, 2017

Now I understand the problem.

So maybe slpkg -s sbo packagename should not search for all matching but only show exact matching packages? And maybe there should be another switch for searching packages?

Slackpkg does matching, but it will not resolve any deps, so in the case, where deps are not resolved, matching is OK, but slackpkg still has a separate option just for searching slackpkg search packagename, so maybe a separate switch just for searching?

Because in a scenario, when we have scripts using slpkg like this:

echo y | slpkg -s sbo packagename

and somehow packagename gets removed from slackbuilds but there are other packages that will be matched by slpkg to the name packagename these scripts will fail or at least not do, what they were designed to do...

@dslackw

This comment has been minimized.

Show comment
Hide comment
@dslackw

dslackw Sep 1, 2017

Owner

Thank you for one more time for your advice, I'll think about what I have to do!

Owner

dslackw commented Sep 1, 2017

Thank you for one more time for your advice, I'll think about what I have to do!

@dslackw

This comment has been minimized.

Show comment
Hide comment
@dslackw

dslackw Sep 17, 2017

Owner

Hi @websafe,
I think this message is a simple solution for this issue, what do you think?
https://ibb.co/ed9Hb5

Owner

dslackw commented Sep 17, 2017

Hi @websafe,
I think this message is a simple solution for this issue, what do you think?
https://ibb.co/ed9Hb5

dslackw added a commit that referenced this issue Sep 23, 2017

@dslackw dslackw closed this Oct 2, 2017

@websafe

This comment has been minimized.

Show comment
Hide comment
@websafe

websafe Oct 11, 2017

Collaborator

I'm not sure if this is a solution because when slpkg is used in scripts like this:

echo Y | slkpg -s sbo Fl

ale these found packages will be installed.

IMHO slpkg should should exit in this case and return a non-zero exit code (So no question"Would you like to continue [ y/N]?")

Collaborator

websafe commented Oct 11, 2017

I'm not sure if this is a solution because when slpkg is used in scripts like this:

echo Y | slkpg -s sbo Fl

ale these found packages will be installed.

IMHO slpkg should should exit in this case and return a non-zero exit code (So no question"Would you like to continue [ y/N]?")

@dslackw dslackw reopened this Oct 11, 2017

@dslackw

This comment has been minimized.

Show comment
Hide comment
@dslackw

dslackw Oct 14, 2017

Owner

Hi @websafe,

Like this:

root@darkstar /h/d/P/s/slpkg# python main.py -s sbo Fl
Reading package lists... Done

Not found package with the name [ Fl ]. Matching packages:
NOTE: Not dependencies are resolved

+==============================================================================
| Package                 New version        Arch    Build  Repos          Size
+==============================================================================
Installing:
  FlightGear-data         2017.3.1           x86_64         SBo
  FlightGear              2017.3.1           x86_64         SBo
  nFlood                  0.5.0              x86_64         SBo
  PDFlib-Lite             7.0.5p3            x86_64         SBo
  Flootty                 3.2.1              x86_64         SBo
  Flask-Babel             0.11.1             x86_64         SBo
  Flask-Compress          1.3.0              x86_64         SBo
  Flask-Cors              3.0.3              x86_64         SBo
  Flask-Gravatar          0.4.2              x86_64         SBo
  Flask-HTMLmin           1.2                x86_64         SBo
  Flask-Login             0.4.0              x86_64         SBo
  Flask-Mail              0.9.1              x86_64         SBo
  Flask-Principal         0.4.0              x86_64         SBo
  Flask-RESTful           0.3.6              x86_64         SBo
  Flask-SQLAlchemy        2.3.0              x86_64         SBo
  Flask-Security          1.7.5              x86_64         SBo
  Flask-WTF               0.14.2             x86_64         SBo
  Flask                   0.12.2             x86_64         SBo

Matching summary
===============================================================================
Total 18 matching packages
Owner

dslackw commented Oct 14, 2017

Hi @websafe,

Like this:

root@darkstar /h/d/P/s/slpkg# python main.py -s sbo Fl
Reading package lists... Done

Not found package with the name [ Fl ]. Matching packages:
NOTE: Not dependencies are resolved

+==============================================================================
| Package                 New version        Arch    Build  Repos          Size
+==============================================================================
Installing:
  FlightGear-data         2017.3.1           x86_64         SBo
  FlightGear              2017.3.1           x86_64         SBo
  nFlood                  0.5.0              x86_64         SBo
  PDFlib-Lite             7.0.5p3            x86_64         SBo
  Flootty                 3.2.1              x86_64         SBo
  Flask-Babel             0.11.1             x86_64         SBo
  Flask-Compress          1.3.0              x86_64         SBo
  Flask-Cors              3.0.3              x86_64         SBo
  Flask-Gravatar          0.4.2              x86_64         SBo
  Flask-HTMLmin           1.2                x86_64         SBo
  Flask-Login             0.4.0              x86_64         SBo
  Flask-Mail              0.9.1              x86_64         SBo
  Flask-Principal         0.4.0              x86_64         SBo
  Flask-RESTful           0.3.6              x86_64         SBo
  Flask-SQLAlchemy        2.3.0              x86_64         SBo
  Flask-Security          1.7.5              x86_64         SBo
  Flask-WTF               0.14.2             x86_64         SBo
  Flask                   0.12.2             x86_64         SBo

Matching summary
===============================================================================
Total 18 matching packages

dslackw added a commit that referenced this issue Oct 14, 2017

Fix: Strange dependency problem (2) #97
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
@websafe

This comment has been minimized.

Show comment
Hide comment
@websafe

websafe Oct 15, 2017

Collaborator

I guess that looks OK.

Is slpkg returning a non-zero exit code in this case?

Simple test, will this script break before "echo"?

#!/bin/bash

set -e

echo Y | slpkg -s sbo Fl

echo "slpkg did not return a non-zero exit code."
Collaborator

websafe commented Oct 15, 2017

I guess that looks OK.

Is slpkg returning a non-zero exit code in this case?

Simple test, will this script break before "echo"?

#!/bin/bash

set -e

echo Y | slpkg -s sbo Fl

echo "slpkg did not return a non-zero exit code."
@dslackw

This comment has been minimized.

Show comment
Hide comment
@dslackw

dslackw Oct 15, 2017

Owner

Yes, the exit code in this case is non-zero also.

Owner

dslackw commented Oct 15, 2017

Yes, the exit code in this case is non-zero also.

@websafe

This comment has been minimized.

Show comment
Hide comment
@websafe

websafe Nov 6, 2017

Collaborator

OK 👍

Collaborator

websafe commented Nov 6, 2017

OK 👍

@websafe websafe closed this Nov 6, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment