LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-27-2015, 06:22 AM   #1
andrew.46
Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 916

Rep: Reputation: 204Reputation: 204Reputation: 204
Pkgtool in -current Nov 27th: 'View' does not work


Most of the problems I have found in -current so far have been my own fault so I am wary of making this post . When using pkgtool (the application rather than the package of installpkg, removepkg etc) all of the menus work as expected except:

Code:
 View     View the list of files contained in a package
On my system there is a quick flash of terminal screen and then returns to the 'Slackware Package Tool (pkgtool version 14.2)─' screen. The terminal flash is seen as the following when pkgtool is shut down:

Code:
cdialog (ComeOn Dialog!) version 1.2-20130523
Copyright 2000-2012,2013 Thomas E. Dickey
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

* Display dialog boxes from shell scripts *

Usage: dialog <options> { --and-widget <options> }
where options are "common" options, followed by "box" options

Special options:
  [--create-rc "file"]
Common options:
  [--ascii-lines] [--aspect <ratio>] [--backtitle <backtitle>] [--beep]
  [--beep-after] [--begin <y> <x>] [--cancel-label <str>] [--clear]
  [--colors] [--column-separator <str>] [--cr-wrap] [--date-format <str>]
  [--default-button <str>] [--default-item <str>] [--defaultno]
  [--exit-label <str>] [--extra-button] [--extra-label <str>]
  [--help-button] [--help-label <str>] [--help-status] [--hfile <str>]
  [--hline <str>] [--ignore] [--input-fd <fd>] [--insecure] [--item-help]
  [--keep-tite] [--keep-window] [--last-key] [--max-input <n>]
  [--no-cancel] [--no-collapse] [--no-cr-wrap] [--no-items] [--no-kill]
  [--no-label <str>] [--no-lines] [--no-mouse] [--no-nl-expand]
  [--no-ok] [--no-shadow] [--no-tags] [--nook] [--ok-label <str>]
  [--output-fd <fd>] [--output-separator <str>] [--print-maxsize]
  [--print-size] [--print-version] [--quoted] [--scrollbar]
  [--separate-output] [--separate-widget <str>] [--shadow]
  [--single-quoted] [--size-err] [--sleep <secs>] [--stderr] [--stdout]
  [--tab-correct] [--tab-len <n>] [--time-format <str>] [--timeout <secs>]
  [--title <title>] [--trace <file>] [--trim] [--version] [--visit-items]
  [--yes-label <str>]
Box options:
  --buildlist    <text> <height> <width> <tag1> <item1> <status1>...
  --calendar     <text> <height> <width> <day> <month> <year>
  --checklist    <text> <height> <width> <list height> <tag1> <item1> <status1>...
  --dselect      <directory> <height> <width>
  --editbox      <file> <height> <width>
  --form         <text> <height> <width> <form height> <label1> <l_y1> <l_x1> <item1> <i_y1> <i_x1> <flen1> <ilen1>...
  --fselect      <filepath> <height> <width>
  --gauge        <text> <height> <width> [<percent>]
  --infobox      <text> <height> <width>
  --inputbox     <text> <height> <width> [<init>]
  --inputmenu    <text> <height> <width> <menu height> <tag1> <item1>...
  --menu         <text> <height> <width> <menu height> <tag1> <item1>...
  --mixedform    <text> <height> <width> <form height> <label1> <l_y1> <l_x1> <item1> <i_y1> <i_x1> <flen1> <ilen1> <itype>...
  --mixedgauge   <text> <height> <width> <percent> <tag1> <item1>...
  --msgbox       <text> <height> <width>
  --passwordbox  <text> <height> <width> [<init>]
  --passwordform <text> <height> <width> <form height> <label1> <l_y1> <l_x1> <item1> <i_y1> <i_x1> <flen1> <ilen1>...
  --pause        <text> <height> <width> <seconds>
  --prgbox       <text> <command> <height> <width>
  --programbox   <text> <height> <width>
  --progressbox  <text> <height> <width>
  --radiolist    <text> <height> <width> <list height> <tag1> <item1> <status1>...
  --rangebox     <text> <height> <width> <min-value> <max-value> <default-value>
  --tailbox      <file> <height> <width>
  --tailboxbg    <file> <height> <width>
  --textbox      <file> <height> <width>
  --timebox      <text> <height> <width> <hour> <minute> <second>
  --treeview     <text> <height> <width> <list-height> <tag1> <item1> <status1> <depth1>...
  --yesno        <text> <height> <width>

Auto-size with height and width = 0. Maximize with height and width = -1.
Global-auto-size if also menu_height/list_height = 0.
Can this be reproduced by any other -current user?
 
Old 11-27-2015, 07:52 AM   #2
drmozes
Slackware Contributor
 
Registered: Apr 2008
Location: Surrey, England
Distribution: Slackware
Posts: 739

Rep: Reputation: 562Reputation: 562Reputation: 562Reputation: 562Reputation: 562Reputation: 562
Quote:
Originally Posted by andrew.46 View Post
Most of the problems I have found in -current so far have been my own fault so I am wary of making this post . When using pkgtool (the application rather than the package of installpkg, removepkg etc) all of the menus work as expected except:
I don't have that problem.
Try upgradepkg --reinstall pkgtools and the same with dialog.

If you can install a Virtual Machine such as VirtualBox, install a new -current in there and see if most of your problems exist on a fresh installation.
 
Old 11-27-2015, 09:18 AM   #3
TLE
Member
 
Registered: Oct 2004
Location: Sweden
Distribution: Slackware 13.37, 14.2 and current
Posts: 47

Rep: Reputation: 8
It's the same for me on two laptops running current

There is a thread about this a while ago.
Solution was to start pkgtool as: env LC_ALL=C pkgtool
It works for me

I'm sure that there is a better solution...
 
1 members found this post helpful.
Old 11-27-2015, 11:26 AM   #4
yars
Member
 
Registered: Apr 2012
Location: Russia
Distribution: Slackware64-current
Posts: 241

Rep: Reputation: 24
No problem. Maybe it will be reproduced on one package, not on all? What package you want view?
 
Old 11-27-2015, 05:22 PM   #5
andrew.46
Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 916

Original Poster
Rep: Reputation: 204Reputation: 204Reputation: 204
Quote:
Originally Posted by TLE View Post
There is a thread about this a while ago.
Solution was to start pkgtool as: env LC_ALL=C pkgtool
It works for me
And this solution works for me as well. My apologies for not seeing the previous thread on this issue:

Pkgtool functions not working anymore
http://www.linuxquestions.org/questi...re-4175528373/

Quote:
I'm sure that there is a better solution...
Indeed, this solution is a little clumsy although I am glad to get the View function back again...

Edit: Ugly solution for me was to create a ~/.bashrc for root and make an alias

Last edited by andrew.46; 11-27-2015 at 06:26 PM.
 
Old 12-03-2015, 06:07 PM   #6
andrew.46
Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 916

Original Poster
Rep: Reputation: 204Reputation: 204Reputation: 204
Thanks PV and team for this:

Code:
a/pkgtools-14.2-noarch-5.txz:  Rebuilt.
  Set LANG=C in pkgtool.
A much more elegant solution which works for me...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] RSSOwl and -current update Nov 29 chrisretusn Slackware 0 12-02-2010 08:24 AM
pkgtool: problems with view and remove scorpion77 Slackware 4 08-11-2008 09:27 AM
pkgtool in current campher Slackware 5 10-02-2006 06:59 PM
pkgtool 10.1 view option broken? cccc828 Slackware 27 01-27-2005 04:30 PM
Where is the file:lists all installed pkg's-like 'pkgtool-view'? BearClaw Slackware 2 07-19-2003 11:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration