Reply
Thread Tools
wicket's Avatar
Posts: 634 | Thanked: 3,266 times | Joined on May 2010 @ Colombia
#131
Originally Posted by shmerl View Post
zypper supposedly supports this: http://en.opensuse.org/SDB:Zypper_us...oving_packages
You would think that after reading that doc however that doesn't seem to be the case (at least with the zypper included in the Mer SDK):

Code:
$ sudo zypper in xorg-x11-server-devel
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW packages are going to be installed:
  libX11 libXau libXext libXfixes libdrm libdrm-devel libdrm-intel libdrm-nouveau libdrm-omap libdrm-radeon libpciaccess libpciaccess-devel libxcb mesa-llvmpipe 
  mesa-llvmpipe-dri-drivers-devel mesa-llvmpipe-dri-swrast-driver mesa-llvmpipe-libEGL mesa-llvmpipe-libglapi xorg-x11-filesystem xorg-x11-proto-dri2proto xorg-x11-proto-fontsproto 
  xorg-x11-proto-glproto xorg-x11-proto-inputproto xorg-x11-proto-kbproto xorg-x11-proto-randrproto xorg-x11-proto-renderproto xorg-x11-proto-resourceproto xorg-x11-proto-scrnsaverproto 
  xorg-x11-proto-videoproto xorg-x11-proto-xextproto xorg-x11-proto-xf86bigfontproto xorg-x11-proto-xf86driproto xorg-x11-proto-xproto xorg-x11-server xorg-x11-server-devel 

35 new packages to install.
Overall download size: 12.4 MiB. After the operation, additional 51.4 MiB will be used.
Continue? [y/n/?] (y):
(Output truncated)

Code:
$ sudo zypper rm xorg-x11-server-devel
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following package is going to be REMOVED:
  xorg-x11-server-devel 

1 package to remove.
After the operation, 1.2 MiB will be freed.
Continue? [y/n/?] (y):
The other feature I miss is apt-file search which must have saved me a shitload of time over the years. zypper wp just isn't as powerful. Of course Maemo doesn't have apt-file either, I'm not sure why, I wouldn't have thought that it would be too difficult to implement.
 
Posts: 1,298 | Thanked: 2,277 times | Joined on May 2011
#132
Just checked. By default zypper does not remove dependencies which were pulled with the package, but you can force it to do it. Example (tested that in Mer SDK):

Code:
sudo zypper install ruby
sudo zypper remove -u ruby
Try:
Code:
zypper remove
for all options to the remove command.

And manually installed packages aren't removed when you specify -u option.

Last edited by shmerl; 2013-08-06 at 03:15.
 

The Following 5 Users Say Thank You to shmerl For This Useful Post:
Posts: 1,298 | Thanked: 2,277 times | Joined on May 2011
#133
See also /etc/zypp/zypp.conf
Code:
##
## EXPERTS ONLY: Cleanup when deleting packages. Whether the solver should
## per default try to remove packages exclusively required by the ones he's
## asked to delete.
##
## This option should be used on a case by case basis, enabled via
## command line options or switches the applications offer. Changing
## the global default on a system where unattended actions are performed,
## may easily damage your system.
##
## CHANGING THE DEFAULT IS NOT RECOMMENDED.
##
## Valid values:  boolean
## Default value: false
##
# solver.cleandepsOnRemove = false
zypper recommends to keep it false by default.
 

The Following 4 Users Say Thank You to shmerl For This Useful Post:
Posts: 1,269 | Thanked: 3,961 times | Joined on May 2011 @ Brazil
#134
Updated the 1st post with new features of Sailfish SDK Alpha Qt5.
__________________
Python, C/C++, Qt and CAS developer. For Maemo/MeeGo/Sailfish :
Integral, Derivative, Limit - calculating mathematical integrals, derivatives and limits. SymPy - Computer Algebra System.
MatPlotLib - 2D & 3D plots in Python. IPython - Python interactive shell.
-- My blog about mobile & scientific computing ---
Sailfish : Sony Xperia X, Gemini, Jolla, Jolla C, Jolla Tablet, Nexus 4. Nokia N9, N900, N810.
 

The Following 2 Users Say Thank You to rcolistete For This Useful Post:
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#135
it's qt 5.1 now, not 5.0
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 

The Following User Says Thank You to marmistrz For This Useful Post:
Posts: 1,269 | Thanked: 3,961 times | Joined on May 2011 @ Brazil
#136
Originally Posted by marmistrz View Post
it's qt 5.1 now, not 5.0
I don't think so, as "mersdk@SailfishSDK:~$ zypper if qt5-qtcore" shows version "5.0.2git13604.9095210-1.5.2". The same version on Sailfish Emulator.
"SDK Alpha Qt5 Known Issues" cites this issue :
QtCreator
Some of documentation point to Qt 5.1 although setup runs on patched Qt5.0.
__________________
Python, C/C++, Qt and CAS developer. For Maemo/MeeGo/Sailfish :
Integral, Derivative, Limit - calculating mathematical integrals, derivatives and limits. SymPy - Computer Algebra System.
MatPlotLib - 2D & 3D plots in Python. IPython - Python interactive shell.
-- My blog about mobile & scientific computing ---
Sailfish : Sony Xperia X, Gemini, Jolla, Jolla C, Jolla Tablet, Nexus 4. Nokia N9, N900, N810.
 

The Following User Says Thank You to rcolistete For This Useful Post:
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#137
Originally Posted by rcolistete View Post
I don't think so, as "mersdk@SailfishSDK:~$ zypper if qt5-qtcore" shows version "5.0.2git13604.9095210-1.5.2". The same version on Sailfish Emulator.
"SDK Alpha Qt5 Known Issues" cites this issue :
According to the mailing list, the 5.0.2git version should be "almost" 5.1 and "real" 5.1 should come in a SDK update.
__________________
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader
Universal Components - a solution for native looking yet component set independent QML appliactions (QtQuick Controls 2 & Silica supported as backends)
 

The Following 3 Users Say Thank You to MartinK For This Useful Post:
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#138
settings->building->qt versions tells about 5.1
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 

The Following User Says Thank You to marmistrz For This Useful Post:
Morpog's Avatar
Posts: 956 | Thanked: 2,628 times | Joined on Nov 2011
#139
Jolla guys say, it's almost a 5.1, almost all stuff is 5.1 already, they freezed code just before 5.1 was released.
 

The Following 2 Users Say Thank You to Morpog For This Useful Post:
Posts: 3,464 | Thanked: 5,107 times | Joined on Feb 2010 @ Gothenburg in Sweden
#140
just a notice but it seems like qt5.2 will be releases in november. Since nokia wiped qt it seems like qtdevs has gone nuts with releases
__________________
Keep safe and healthy
 

The Following User Says Thank You to mikecomputing For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 14:50.