• V20: 3CX Re-engineered. Get V20 for increased security, better call management, a new admin console and Windows softphone. Learn More.

Solved Linux Virgin!

Status
Not open for further replies.

Wendelspanswick

Joined
Jan 11, 2016
Messages
178
Reaction score
10
Hi, we have a Debian installation running the latest version of 3CX and I'm struggling as I've grown up with Windows and not Linux.

I'm trying to make sure the server is up to date using:
https://www.3cx.com/blog/voip-howto/os-security-updates-debian/

I open up a terminal window on the server as root and type the following:

apt-get update && apt-get upgrade

And I get back the following:
Code:
root@185:~# apt-get && apt-get upgrade
apt 1.4.8 (amd64)
Usage: apt-get [options] command
       apt-get [options] install|remove pkg1 [pkg2 ...]
       apt-get [options] source pkg1 [pkg2 ...]
apt-get is a command line interface for retrieval of packages
and information about them from authenticated sources and
for installation, upgrade and removal of packages together
with their dependencies.
Most used commands:
  update - Retrieve new lists of packages
  upgrade - Perform an upgrade
  install - Install new packages (pkg is libc6 not libc6.deb)
  remove - Remove packages
  purge - Remove packages and config files
  autoremove - Remove automatically all unused packages
  dist-upgrade - Distribution upgrade, see apt-get(8)
  dselect-upgrade - Follow dselect selections
  build-dep - Configure build-dependencies for source packages
  clean - Erase downloaded archive files
  autoclean - Erase old downloaded archive files
  check - Verify that there are no broken dependencies
  source - Download source archives
  download - Download the binary package into the current direc                                                              tory
  changelog - Download and display the changelog for the given                                                               package
See apt-get(8) for more information about the available command                                                              s.
Configuration options and syntax is detailed in apt.conf(5).
Information about how to configure sources can be found in sour                                                              ces.list(5).
Package and version choices can be expressed via apt_preference                                                              s(5).
Security details are available in apt-secure(8).
                                        This APT has Super Cow                                                               Powers.
root@185:~#

Help!
 
You had a typo in your command line you should have entered apt-get update && apt-get upgrade what you entered was apt-get && apt-get upgrade. The "&&" means if the first command succeeds run the second one, which is an advanced method of batching commands. It might be better right now to be entering those two commands separately. So instead just enter apt-get update and when it finishes without errors, enter apt-get upgrade.
 
Thank you, obvious when you look closely :oops:.
 
Glad to see the issue has been resolved.
 
Status
Not open for further replies.

Getting Started - Admin

Latest Posts

Forum statistics

Threads
141,405
Messages
747,492
Members
144,369
Latest member
DS42064
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.