Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Having trouble updating/upgrading Post 303043939 by Circuits on Tuesday 11th of February 2020 12:09:53 PM
Old 02-11-2020
TBH I can't even seem to get rid of samba:


Code:
rob@linux:~$ sudo apt-get remove samba --purge
[sudo] password for rob: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  attr ibverbs-providers libcephfs2 libibverbs1 libllvm8 libnl-route-3-200 librados2 libuser1 python-dnspython
  python-libuser samba-dsdb-modules samba-vfs-modules tdb-tools
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  samba* system-config-samba*
0 upgraded, 0 newly installed, 2 to remove and 3 not upgraded.
4 not fully installed or removed.
Need to get 0 B/1,926 kB of archives.
After this operation, 15.9 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 267456 files and directories currently installed.)
Removing system-config-samba (1.2.63-0ubuntu6) ...
Removing samba (2:4.7.6+dfsg~ubuntu-0ubuntu2.15) ...
dpkg: error processing package python-samba (--configure):
 package is in a very bad inconsistent state; you should
 reinstall it before attempting configuration
dpkg: dependency problems prevent configuration of samba-common-bin:
 samba-common-bin depends on python-samba; however:
  Package python-samba is not configured yet.

dpkg: error processing package samba-common-bin (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Errors were encountered while processing:
 python-samba
 samba-common-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Upgrading to PHP 4.3.4 from 4.2.2

ok im trying to upgrade but i keep geting an error and 1 says it ned the other to install but nethere will install heres what im getting now though now i have 4.2.2-17.2 installed now do i have to unintall everything to get this to install or how do i go about it thank you for your help (3 Replies)
Discussion started by: Blackrose
3 Replies

2. HP-UX

Upgrading a B1000

Hi all I have a HP B1000 with HP-UX 11 installed but recently I have aqquired 11i on CD, after reading the documentation it states that 11i can be installed on a B1000 with a firmware update, which is included on the 11i media, but I have been told it will be impossible to install 11i on my... (3 Replies)
Discussion started by: NemesisXP
3 Replies

3. Solaris

upgrading to solaris 9

Hey All We are having ORacle 8.1.7 and ORacle 9.2.0.4 installed in our Sun sparc Servers(oON SOLARIS 8). We are going to upgrade our servers to SOLARIS Ver 9 Solaris ver 9 supports the above mentioned Oracle versions. Can any one help me out how to upgrade from solaris 8 to solaris 9. ... (2 Replies)
Discussion started by: solaris8in
2 Replies

4. UNIX for Dummies Questions & Answers

upgrading apache

How can I find out what options were used to build the apache currently running on my computer? I'd like to upgrade and want to make sure not to break any sites running on it. I've been going through the sites to figure out just what is needed, but want to be sure not to miss anything before... (2 Replies)
Discussion started by: lungs
2 Replies

5. AIX

Upgrading from 5.1.0.0 to 5.2.0.0

As a fairly new Administrator to AIX i am a little leary of the OS upgrade I need to do on one of our servers. I have already upgraded the microcode to the lastest level and now need to do the OS. I have the docs and discs from IBM and have determined that I dont want to do a new installation but... (5 Replies)
Discussion started by: Target
5 Replies

6. Red Hat

upgrading packages

Hello, I am using Redhat Linux Enterprise 4 AS. To upgrade NFS, I had to browse the internet and finally I got the latest rpm https://rhn.redhat.com/errata/RHBA-2005-727.html That was a time-consuming procedure. On Solaris, I am used to go to sunfreeware.sun.com and download the latest... (3 Replies)
Discussion started by: melanie_pfefer
3 Replies

7. Shell Programming and Scripting

awk updating one file with another, comparing, updating

Hello, I read and search through this wonderful forum and tried different approaches but it seems I lack some knowledge and neurones ^^ Here is what I'm trying to achieve : file1: test filea 3495; test fileb 4578; test filec 7689; test filey 9978; test filez 12300; file2: test filea... (11 Replies)
Discussion started by: mecano
11 Replies

8. AIX

Upgrading OS from 5.2 to 5.3

We currently have test and production servers running AIX 5.2, DB2 8.1(Prod), DB2 8.2(Test),Websphere 6.1 on both. We need to upgrade to DB2 to version 9, but to do that we also need to upgrade the operating system to 5.3 and go from 32 bit kernel to 64 bit kernal. Looking for information on any... (3 Replies)
Discussion started by: jyoung
3 Replies

9. AIX

Upgrading from aix 5.3 to ?

Hey guys, since AIX 5.3 reaches EOS on april 2012, I really need to update my systems asap. Any experience on upgrading directly to 7.1, with sap/db2/oracle? could do fresh installs and import my sap/db vgs, but this would be a lot of work cheers Funksen (4 Replies)
Discussion started by: funksen
4 Replies

10. AIX

Problem Upgrading OS

Hi I've just upgraded OS - using "Migration with nimadm". The Nim master is a Power 6 server, and the source is 6100-09-04-1441. The migration was successful with a Power 6 - Nim client, but there was a problem with Power 5 - Nim client : the OS remained 6100-00-09-0920 icapp1:/]oslevel -s... (1 Reply)
Discussion started by: bobochacha29
1 Replies
TDBBACKUP(8)						    System Administration tools 					      TDBBACKUP(8)

NAME
tdbbackup - tool for backing up and for validating the integrity of samba .tdb files SYNOPSIS
tdbbackup [-s suffix] [-v] [-h] DESCRIPTION
This tool is part of the samba(1) suite. tdbbackup is a tool that may be used to backup samba .tdb files. This tool may also be used to verify the integrity of the .tdb files prior to samba startup or during normal operation. If it finds file damage and it finds a prior backup the backup file will be restored. OPTIONS
-h Get help information. -s suffix The -s option allows the adminisistrator to specify a file backup extension. This way it is possible to keep a history of tdb backup files by using a new suffix for each backup. -v The -v will check the database for damages (currupt data) which if detected causes the backup to be restored. COMMANDS
GENERAL INFORMATION The tdbbackup utility can safely be run at any time. It was designed so that it can be used at any time to validate the integrity of tdb files, even during Samba operation. Typical usage for the command will be: tdbbackup [-s suffix] *.tdb Before restarting samba the following command may be run to validate .tdb files: tdbbackup -v [-s suffix] *.tdb Samba .tdb files are stored in various locations, be sure to run backup all .tdb file on the system. Important files includes: o secrets.tdb - usual location is in the /usr/local/samba/private directory, or on some systems in /etc/samba. o passdb.tdb - usual location is in the /usr/local/samba/private directory, or on some systems in /etc/samba. o *.tdb located in the /usr/local/samba/var directory or on some systems in the /var/cache or /var/lib/samba directories. VERSION
This man page is correct for version 3 of the Samba suite. AUTHOR
The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed. The tdbbackup man page was written by John H Terpstra. Samba 3.6 05/28/2012 TDBBACKUP(8)
All times are GMT -4. The time now is 02:23 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy